Bump to v4.11.2.

This commit is contained in:
John-David Dalton
2016-04-19 22:17:16 -07:00
parent 29c408ee8a
commit ccdfca5392
86 changed files with 714 additions and 447 deletions

View File

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