不要怂,就是干,撸起袖子干!

Commit b5902667 by rosston

Don't override LoDash includes() function.

LoDash includes() does same job (with more types supported) of custom function.
1 parent eaf197fa
Showing with 0 additions and 5 deletions
......@@ -15,11 +15,6 @@ var Utils = module.exports = {
var _ = lodash;
_.mixin({
includes: function(str, needle){
if (needle === '') return true;
if (str === null) return false;
return String(str).indexOf(needle) !== -1;
},
camelizeIf: function(string, condition) {
var result = string;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!