lodash.bind
Advanced tools
Comparing version 4.1.1 to 4.1.2
12
index.js
/** | ||
* lodash 4.1.1 (Custom Build) <https://lodash.com/> | ||
* lodash 4.1.2 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
@@ -12,2 +12,5 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
/** Used as the internal argument placeholder. */ | ||
var PLACEHOLDER = '__lodash_placeholder__'; | ||
/** Used to compose bitmasks for wrapper metadata. */ | ||
@@ -17,5 +20,2 @@ var BIND_FLAG = 1, | ||
/** Used as the internal argument placeholder. */ | ||
var PLACEHOLDER = '__lodash_placeholder__'; | ||
/** | ||
@@ -33,3 +33,3 @@ * Replaces all `placeholder` elements in `array` with an internal placeholder | ||
length = array.length, | ||
resIndex = -1, | ||
resIndex = 0, | ||
result = []; | ||
@@ -41,3 +41,3 @@ | ||
array[index] = PLACEHOLDER; | ||
result[++resIndex] = index; | ||
result[resIndex++] = index; | ||
} | ||
@@ -44,0 +44,0 @@ } |
{ | ||
"name": "lodash.bind", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "The lodash method `_.bind` exported as a module.", | ||
@@ -12,3 +12,3 @@ "homepage": "https://lodash.com/", | ||
"John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | ||
"Blaine Bublitz <blaine@iceddev.com> (https://github.com/phated)", | ||
"Blaine Bublitz <blaine.bublitz@gmail.com> (https://github.com/phated)", | ||
"Mathias Bynens <mathias@qiwi.be> (https://mathiasbynens.be/)" | ||
@@ -15,0 +15,0 @@ ], |
@@ -1,2 +0,2 @@ | ||
# lodash.bind v4.1.1 | ||
# lodash.bind v4.1.2 | ||
@@ -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.1-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.2-npm-packages/lodash.bind) for more details. |
5552