Bump to v4.1.4.

This commit is contained in:
John-David Dalton
2016-04-02 20:16:50 -07:00
parent 4e2d859e65
commit b334d7a573
59 changed files with 537 additions and 3027 deletions

View File

@@ -1,10 +1,10 @@
/**
* lodash 4.1.3 (Custom Build) <https://lodash.com/>
* lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <https://lodash.com/license>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
var createWrapper = require('lodash._createwrapper'),
rest = require('lodash.rest');
@@ -48,7 +48,7 @@ function replaceHolders(array, placeholder) {
* @param {Function} func The function to inspect.
* @returns {*} Returns the placeholder value.
*/
function getPlaceholder(func) {
function getHolder(func) {
var object = func;
return object.placeholder;
}
@@ -91,7 +91,7 @@ function getPlaceholder(func) {
var bind = rest(function(func, thisArg, partials) {
var bitmask = BIND_FLAG;
if (partials.length) {
var holders = replaceHolders(partials, getPlaceholder(bind));
var holders = replaceHolders(partials, getHolder(bind));
bitmask |= PARTIAL_FLAG;
}
return createWrapper(func, bitmask, thisArg, partials, holders);