diff --git a/perf/perf.js b/perf/perf.js index f5f8841b4..6248b71a6 100644 --- a/perf/perf.js +++ b/perf/perf.js @@ -444,10 +444,10 @@ var source = { "num": 9 };\ \ var _findWhere = _.findWhere || _.find,\ - _match = _.matches && _.matches(source);\ + _match = (_.matches || _.createCallback || _.noop)(source);\ \ var lodashFindWhere = lodash.findWhere || lodash.find,\ - lodashMatch = lodash.matches && lodash.matches(source);\ + lodashMatch = (lodash.matches || lodash.createCallback || lodash.noop)(source);\ }\ if (typeof multiArrays != "undefined") {\ var twentyValues = belt.shuffle(belt.range(20)),\