From 6ae58e74c77bfa62e22c5e984c1e2b3e274e5815 Mon Sep 17 00:00:00 2001 From: sfinktah Date: Sat, 17 Oct 2015 03:01:51 +1100 Subject: [PATCH] Changed references to `_.include` to `_.includes`. --- perf/perf.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/perf/perf.js b/perf/perf.js index 097ab75ce..932554105 100644 --- a/perf/perf.js +++ b/perf/perf.js @@ -1086,31 +1086,31 @@ suites.push( Benchmark.Suite('`_.includes` searching an array') .add(buildName, '\ - lodash.include(numbers, limit - 1)' + lodash.includes(numbers, limit - 1)' ) .add(otherName, '\ - _.include(numbers, limit - 1)' + _.includes(numbers, limit - 1)' ) ); suites.push( Benchmark.Suite('`_.includes` searching an object') .add(buildName, '\ - lodash.include(object, limit - 1)' + lodash.includes(object, limit - 1)' ) .add(otherName, '\ - _.include(object, limit - 1)' + _.includes(object, limit - 1)' ) ); - if (lodash.include('ab', 'ab') && _.include('ab', 'ab')) { + if (lodash.includes('ab', 'ab') && _.includes('ab', 'ab')) { suites.push( Benchmark.Suite('`_.includes` searching a string') .add(buildName, '\ - lodash.include(strNumbers, "," + (limit - 1))' + lodash.includes(strNumbers, "," + (limit - 1))' ) .add(otherName, '\ - _.include(strNumbers, "," + (limit - 1))' + _.includes(strNumbers, "," + (limit - 1))' ) ); }