Skip to content

Commit

Permalink
Avoid != in createCallback.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Apr 16, 2014
1 parent 913a018 commit a8872cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lodash.js
Original file line number Diff line number Diff line change
@@ -7796,7 +7796,7 @@
func || baseCreateCallback(func, thisArg, argCount);
}
// handle "_.pluck" and "_.where" style callback shorthands
return type != 'object' ? property(func) : matches(func);
return type == 'object' ? matches(func) : property(func);
}

/**

0 comments on commit a8872cc

Please sign in to comment.