Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 488530 | Differences between
and this patch

Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.javascript/web/eslint/lib/load-rules-async.js (-3 / +1 lines)
Lines 1350-1358 Link Here
1350
        					    if(node.type === 'FunctionDeclaration') {
1350
        					    if(node.type === 'FunctionDeclaration') {
1351
        					    	   var tern = context.getTern();
1351
        					    	   var tern = context.getTern();
1352
        					    	   var refQuery = tern.query;
1352
        					    	   var refQuery = tern.query;
1353
        					    	   if (typeof refQuery.end === "undefined") {
1353
							   refQuery.end = node.id.end;
1354
									refQuery.end = node.id.end;
1355
        					    	   }
1356
        					    	   var refs = null;
1354
        					    	   var refs = null;
1357
        					    	   var filename = tern.file.name;
1355
        					    	   var filename = tern.file.name;
1358
        					    	   try {
1356
        					    	   try {

Return to bug 488530