Update to newest tern to pick up some bugfixes

This commit is contained in:
Erik Tierney committed 2013-04-12 10:26:54 -04:00
1 parent ee2dd1d518
commit cf26938891
2 files changed
+3 -3

No files matched your search

@@ -31,7 +31,7 @@ importScripts("thirdparty/requirejs/require.js");
var HintUtils;
var Tern;
require(["./HintUtils", "./tern/tern", "./tern/plugin/requirejs"], function(hintUtils, tern, requirejs) {
require(["./HintUtils", "./tern/lib/tern", "./tern/plugin/requirejs"], function(hintUtils, tern, requirejs) {
HintUtils = hintUtils;
Tern = tern;
} );
@@ -148,7 +148,7 @@ importScripts("thirdparty/requirejs/require.js");
return;
}
var completions = [];
_log("found " + completions.length + " for " + file + "@" + offset);
//_log("found " + completions.length + " for " + file + "@" + offset);
for (var i = 0; i < data.completions.length; ++i) {
var completion = data.completions[i];
completions.push({value: completion.name, type: completion.type, depth: completion.depth, guess: completion.guess});