mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Add placeholder support to _.bind, _.partial, and _.partialRight.
This commit is contained in:
@@ -609,7 +609,7 @@
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
suites.push(
|
||||
Benchmark.Suite('`_.bind`')
|
||||
Benchmark.Suite('`_.bind` (slow path)')
|
||||
.add(buildName, {
|
||||
'fn': 'lodash.bind(func, { "name": "fred" })',
|
||||
'teardown': 'function bind(){}'
|
||||
@@ -1508,7 +1508,7 @@
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
suites.push(
|
||||
Benchmark.Suite('`_.partial`')
|
||||
Benchmark.Suite('`_.partial` (slow path)')
|
||||
.add(buildName, {
|
||||
'fn': 'lodash.partial(func, "hi")',
|
||||
'teardown': 'function partial(){}'
|
||||
|
||||
Reference in New Issue
Block a user