Code review cleanup - mostly in the unittests

This commit is contained in:
Erik Tierney committed 2013-05-09 14:54:40 -04:00
1 parent c162a75dc8
commit 678ae5aed0
2 files changed
+63 -61

No files matched your search

@@ -311,8 +311,7 @@ define(function (require, exports, module) {
// Compute fresh hints if none exist, or if the session
// type has changed since the last hint computation
if (this.needNewHints(session)) {
var offset = session.getOffset(),
scopeResponse = ScopeManager.requestHints(session, session.editor.document);
var scopeResponse = ScopeManager.requestHints(session, session.editor.document);
if (scopeResponse.hasOwnProperty("promise")) {
var $deferredHints = $.Deferred();