gjslint suggestions.

This commit is contained in:
Mathieu Lecarme 2011-12-04 22:48:22 +01:00
parent ef043af1d4
commit 4343f72fab
2 changed files with 7 additions and 5 deletions

View File

@ -71,4 +71,4 @@ Filter.multi_test = function (rule, value) {
} else { } else {
return rule(value); return rule(value);
} }
} };

View File

@ -81,7 +81,9 @@ SubstringFilter.prototype.matches = function(target) {
re += this['final'] + '$'; re += this['final'] + '$';
var matcher = new RegExp(re); var matcher = new RegExp(re);
return Filter.multi_test( function(v) { return matcher.test(v); }, target[this.attribute]); return Filter.multi_test(
function(v) { return matcher.test(v); },
target[this.attribute]);
} }
return false; return false;