Fix JSHint warnings and exclude tern and acorn related files from grunt.

This commit is contained in:
Peter Farland committed 2013-04-04 22:48:21 -04:00
1 parent c05e551302
commit d371c0f916
5 files changed
+50 -47

No files matched your search

@@ -247,7 +247,7 @@ define(function (require, exports, module) {
showFunctionType = true;
var col = token.state.lexical.column;
for (var line = this.getCursor().line, e = Math.max(0, line - 9), found = false; line >= e; --line) {
if (this.getLine(line).charAt(col) == "(") {
if (this.getLine(line).charAt(col) === "(") {
found = true;
break;
}
@@ -396,9 +396,9 @@ define(function (require, exports, module) {
Session.prototype.setTernHints = function(newHints) {
this.ternHints = newHints;
}
};
Session.prototype.setFnType = function(newFnType) {
this.fnType = newFnType;
}
};
module.exports = Session;
});