Fix crash when hinting with angular.js.

Updated to a version of tern that fixes the bug.
Take out the excludes of minified libraries, as they all work now that the bug is fixed.
Stil exclude require and jquery files since we have json defs files for those that have better type information.
Fixes Issue #3827
This commit is contained in:
Erik Tierney committed 2013-05-15 10:37:34 -04:00
1 parent 3c1614b5e6
commit 05e7252fce
2 files changed
+3 -3

No files matched your search

@@ -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);