fix grunt warning

This commit is contained in:
dloverin authored and Erik Tierney committed 2013-04-15 16:05:46 -04:00
1 parent e5e028e535
commit 20423c94b9
1 file changed
+6 -3
@@ -38,6 +38,7 @@ define(function (require, exports, module) {
LanguageManager = brackets.getModule("language/LanguageManager"),
NativeFileSystem = brackets.getModule("file/NativeFileSystem").NativeFileSystem,
ProjectManager = brackets.getModule("project/ProjectManager"),
CollectionUtils = brackets.getModule("utils/CollectionUtils"),
HintUtils = require("HintUtils");
var ternEnvironment = [],
@@ -314,9 +315,11 @@ define(function (require, exports, module) {
delete pendingTernRequests[key][type];
for (var prop in pendingTernRequests[key]) {
anyProperties = true;
break;
for (var prop in requests) {
if (CollectionUtils.hasProperty(requests, prop)) {
anyProperties = true;
break;
}
}
if (!anyProperties) {