Merge pull request #5 from dloverin/cleanup-esprima

Remove espirma and related scope info code
This commit is contained in:
Erik Tierney committed 2013-03-29 13:28:17 -07:00
commit 08f356c649
7 files changed
+14 -4635

No files matched your search

@@ -336,7 +336,7 @@ define(function (require, exports, module) {
query.length == 0 ||
(cachedHints.length == 0 && query.length == 2)) { // FIXME: length of 2 is special because that is when tern starts guessing
var offset = session.getOffset(),
scopeResponse = ScopeManager.getScopeInfo(session, session.editor.document, offset),
scopeResponse = ScopeManager.requestHints(session, session.editor.document, offset),
self = this;
if (scopeResponse.hasOwnProperty("promise")) {