Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3836 from eztierney/issue-3827
Browse files Browse the repository at this point in the history
[JS Code Hints] Fix crash when hinting with angular.js.
  • Loading branch information
dloverin committed May 15, 2013
2 parents 3c1614b + 05e7252 commit d092dd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/extensions/default/JavaScriptCodeHints/ScopeManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ define(function (require, exports, module) {
numResolvedFiles = 0,
numAddedFiles = 0,
stopAddingFiles = false,
excludedFilesString = "require\\.js$|jquery-[\\d]\\.[\\d]\\.js$|\\.min\\.js$",
excludedFilesRegEx = new RegExp(excludedFilesString),
// exclude require and jquery since we have special knowledge of those
excludedFilesRegEx = /require\.js$|jquery-[\d]\.[\d]\.js$/,
_ternWorker = (function () {
var path = ExtensionUtils.getModulePath(module, "tern-worker.js");
return new Worker(path);
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/default/JavaScriptCodeHints/thirdparty/tern
Submodule tern updated from d5289c to adc1e5

0 comments on commit d092dd2

Please sign in to comment.