lodash.bind
Advanced tools
Comparing version 4.1.3 to 4.1.4
16
index.js
/** | ||
* 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 | ||
*/ | ||
@@ -51,3 +51,3 @@ var createWrapper = require('lodash._createwrapper'), | ||
*/ | ||
function getPlaceholder(func) { | ||
function getHolder(func) { | ||
var object = func; | ||
@@ -59,4 +59,3 @@ return object.placeholder; | ||
* Creates a function that invokes `func` with the `this` binding of `thisArg` | ||
* and prepends any additional `_.bind` arguments to those provided to the | ||
* bound function. | ||
* and `partials` prepended to the arguments it receives. | ||
* | ||
@@ -71,2 +70,3 @@ * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds, | ||
* @memberOf _ | ||
* @since 0.1.0 | ||
* @category Function | ||
@@ -97,3 +97,3 @@ * @param {Function} func The function to bind. | ||
if (partials.length) { | ||
var holders = replaceHolders(partials, getPlaceholder(bind)); | ||
var holders = replaceHolders(partials, getHolder(bind)); | ||
bitmask |= PARTIAL_FLAG; | ||
@@ -100,0 +100,0 @@ } |
{ | ||
"name": "lodash.bind", | ||
"version": "4.1.3", | ||
"version": "4.1.4", | ||
"description": "The lodash method `_.bind` exported as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.bind v4.1.3 | ||
# lodash.bind v4.1.4 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.bind` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#bind) or [package source](https://github.com/lodash/lodash/blob/4.1.3-npm-packages/lodash.bind) for more details. | ||
See the [documentation](https://lodash.com/docs#bind) or [package source](https://github.com/lodash/lodash/blob/4.1.4-npm-packages/lodash.bind) for more details. |
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license
Found 1 instance in 1 package
6204
1
80