Bump to v4.11.2.

This commit is contained in:
John-David Dalton
2016-04-19 22:00:04 -07:00
parent e93cb815c3
commit ddde027fd9
89 changed files with 1020 additions and 726 deletions

View File

@@ -1,7 +1,8 @@
var arrayEach = require('./_arrayEach'),
baseFlatten = require('./_baseFlatten'),
bind = require('./bind'),
rest = require('./rest');
rest = require('./rest'),
toKey = require('./_toKey');
/**
* Binds methods of an object to the object itself, overwriting the existing
@@ -31,6 +32,7 @@ var arrayEach = require('./_arrayEach'),
*/
var bindAll = rest(function(object, methodNames) {
arrayEach(baseFlatten(methodNames, 1), function(key) {
key = toKey(key);
object[key] = bind(object[key], object);
});
return object;