mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Fix JSHint warnings and exclude tern and acorn related files from grunt.
This commit is contained in:
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;
|
||||
});
|
||||
Reference in new issue
Block a user