mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Update to newest tern to pick up some bugfixes
This commit is contained in:
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});
|
||||
|
||||
Reference in new issue
Block a user