fix problem where jQuery was not recognized as a builtin

This commit is contained in:
dloverin committed 2013-04-18 11:26:45 -04:00
1 parent 5a2efdf1db
commit 7b31da7705
2 files changed
+12 -17

No files matched your search

@@ -44,16 +44,7 @@ define(function (require, exports, module) {
this.ternHints = [];
this.ternProperties = [];
this.fnType = null;
this.builtins = ScopeManager.getBuiltins().map(function (builtin) {
// remove extension from name, if any.
var index = builtin.lastIndexOf(".");
if (index !== -1) {
builtin = builtin.substring(0, index);
}
return builtin;
});
this.builtins = ScopeManager.getBuiltins();
this.builtins.push("requirejs.js"); // consider these globals as well.
}