mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Bump to v4.13.0.
This commit is contained in:
12
bindAll.js
12
bindAll.js
@@ -1,8 +1,8 @@
|
||||
import arrayEach from './_arrayEach';
|
||||
import baseFlatten from './_baseFlatten';
|
||||
import bind from './bind';
|
||||
import rest from './rest';
|
||||
import toKey from './_toKey';
|
||||
import arrayEach from './_arrayEach.js';
|
||||
import baseFlatten from './_baseFlatten.js';
|
||||
import bind from './bind.js';
|
||||
import rest from './rest.js';
|
||||
import toKey from './_toKey.js';
|
||||
|
||||
/**
|
||||
* Binds methods of an object to the object itself, overwriting the existing
|
||||
@@ -26,7 +26,7 @@ import toKey from './_toKey';
|
||||
* }
|
||||
* };
|
||||
*
|
||||
* _.bindAll(view, 'onClick');
|
||||
* _.bindAll(view, ['onClick']);
|
||||
* jQuery(element).on('click', view.onClick);
|
||||
* // => Logs 'clicked docs' when clicked.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user