mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Update vendors.
Former-commit-id: 6be90c53f9b69d500485492ea2a0ebd288b92abe
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
var closureId = '9fd5d61c1b706e7505aeb5187941c2c5497e5fd8';
|
var closureId = '9fd5d61c1b706e7505aeb5187941c2c5497e5fd8';
|
||||||
|
|
||||||
/** The Git object ID of `uglifyjs.tar.gz` */
|
/** The Git object ID of `uglifyjs.tar.gz` */
|
||||||
var uglifyId = '48cae9c0cd76acf812f90d4f98de499ac61ec105';
|
var uglifyId = '7de2795a3af58d1b293e3b0e83cdbc994f4941dc';
|
||||||
|
|
||||||
/** The path of the directory that is the base of the repository */
|
/** The path of the directory that is the base of the repository */
|
||||||
var basePath = fs.realpathSync(path.join(__dirname, '..'));
|
var basePath = fs.realpathSync(path.join(__dirname, '..'));
|
||||||
|
|||||||
2
vendor/benchmark.js/README.md
vendored
2
vendor/benchmark.js/README.md
vendored
@@ -15,7 +15,7 @@ For a list of upcoming features, check out our [roadmap](https://github.com/best
|
|||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
Benchmark.js has been tested in at least Chrome 5~26, Firefox 2~21, IE 6-10, Opera 9.25-12, Safari 3-6, Node.js 0.4.8-0.10.5, Narwhal 0.3.2, PhantomJS 1.9.0, RingoJS 0.9, and Rhino 1.7RC5.
|
Benchmark.js has been tested in at least Chrome 5~27, Firefox 2~21, IE 6-10, Opera 9.25-12, Safari 3-6, Node.js 0.4.8-0.10.7, Narwhal 0.3.2, PhantomJS 1.9.0, RingoJS 0.9, and Rhino 1.7RC5.
|
||||||
|
|
||||||
## Installation and usage
|
## Installation and usage
|
||||||
|
|
||||||
|
|||||||
2
vendor/platform.js/README.md
vendored
2
vendor/platform.js/README.md
vendored
@@ -18,7 +18,7 @@ For a list of upcoming features, check out our [roadmap](https://github.com/best
|
|||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
Platform.js has been tested in at least Chrome 5~26, Firefox 2~21, IE 6-10, Opera 9.25-12, Safari 3-6, Node.js 0.4.8-0.10.5, Narwhal 0.3.2, PhantomJS 1.9.0, RingoJS 0.9, and Rhino 1.7RC5.
|
Platform.js has been tested in at least Chrome 5~27, Firefox 2~21, IE 6-10, Opera 9.25-12, Safari 3-6, Node.js 0.4.8-0.10.7, Narwhal 0.3.2, PhantomJS 1.9.0, RingoJS 0.9, and Rhino 1.7RC5.
|
||||||
|
|
||||||
## Installation and usage
|
## Installation and usage
|
||||||
|
|
||||||
|
|||||||
2
vendor/qunit-clib/README.md
vendored
2
vendor/qunit-clib/README.md
vendored
@@ -9,7 +9,7 @@ QUnit CLIB helps extend QUnit’s CLI support to many common CLI environments.
|
|||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
QUnit CLIB has been tested in at least Node.js 0.4.8-0.10.5, Narwhal 0.3.2, PhantomJS 1.9.0, RingoJS 0.9, and Rhino 1.7RC5.
|
QUnit CLIB has been tested in at least Node.js 0.4.8-0.10.7, Narwhal 0.3.2, PhantomJS 1.9.0, RingoJS 0.9, and Rhino 1.7RC5.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
2
vendor/underscore/underscore-min.js
vendored
2
vendor/underscore/underscore-min.js
vendored
File diff suppressed because one or more lines are too long
10
vendor/underscore/underscore.js
vendored
10
vendor/underscore/underscore.js
vendored
@@ -266,7 +266,7 @@
|
|||||||
var result = {computed : -Infinity, value: -Infinity};
|
var result = {computed : -Infinity, value: -Infinity};
|
||||||
each(obj, function(value, index, list) {
|
each(obj, function(value, index, list) {
|
||||||
var computed = iterator ? iterator.call(context, value, index, list) : value;
|
var computed = iterator ? iterator.call(context, value, index, list) : value;
|
||||||
computed >= result.computed && (result = {value : value, computed : computed});
|
computed > result.computed && (result = {value : value, computed : computed});
|
||||||
});
|
});
|
||||||
return result.value;
|
return result.value;
|
||||||
};
|
};
|
||||||
@@ -593,7 +593,7 @@
|
|||||||
// available.
|
// available.
|
||||||
_.bind = function(func, context) {
|
_.bind = function(func, context) {
|
||||||
var args, bound;
|
var args, bound;
|
||||||
if (func.bind === nativeBind && nativeBind) return nativeBind.apply(func, slice.call(arguments, 1));
|
if (nativeBind && func.bind === nativeBind) return nativeBind.apply(func, slice.call(arguments, 1));
|
||||||
if (!_.isFunction(func)) throw new TypeError;
|
if (!_.isFunction(func)) throw new TypeError;
|
||||||
args = slice.call(arguments, 2);
|
args = slice.call(arguments, 2);
|
||||||
return bound = function() {
|
return bound = function() {
|
||||||
@@ -651,7 +651,8 @@
|
|||||||
// Returns a function, that, when invoked, will only be triggered at most once
|
// Returns a function, that, when invoked, will only be triggered at most once
|
||||||
// during a given window of time.
|
// during a given window of time.
|
||||||
_.throttle = function(func, wait, immediate) {
|
_.throttle = function(func, wait, immediate) {
|
||||||
var context, args, timeout, result;
|
var context, args, result;
|
||||||
|
var timeout = null;
|
||||||
var previous = 0;
|
var previous = 0;
|
||||||
var later = function() {
|
var later = function() {
|
||||||
previous = new Date;
|
previous = new Date;
|
||||||
@@ -681,7 +682,8 @@
|
|||||||
// N milliseconds. If `immediate` is passed, trigger the function on the
|
// N milliseconds. If `immediate` is passed, trigger the function on the
|
||||||
// leading edge, instead of the trailing.
|
// leading edge, instead of the trailing.
|
||||||
_.debounce = function(func, wait, immediate) {
|
_.debounce = function(func, wait, immediate) {
|
||||||
var timeout, result;
|
var result;
|
||||||
|
var timeout = null;
|
||||||
return function() {
|
return function() {
|
||||||
var context = this, args = arguments;
|
var context = this, args = arguments;
|
||||||
var later = function() {
|
var later = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user