Remove dead code in Filter.parse

(imported from commit 59b56ab864c8af52cb2d637b965b5f7161c34110)
This commit is contained in:
Steve Howell
2013-08-23 00:47:21 -04:00
parent c205b8b29f
commit 72b070be14

View File

@@ -76,9 +76,6 @@ Filter.parse = function (str) {
} }
_.each(matches, function (token) { _.each(matches, function (token) {
var parts, operator; var parts, operator;
if (token.length === 0) {
return;
}
parts = token.split(':'); parts = token.split(':');
if (token[0] === '"' || parts.length === 1) { if (token[0] === '"' || parts.length === 1) {
// Looks like a normal search term. // Looks like a normal search term.