equal
deleted
inserted
replaced
1 /** |
1 /** |
2 * @license |
2 * @license |
3 * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> |
3 * Lo-Dash 2.4.2 (Custom Build) <https://lodash.com/> |
4 * Build: `lodash -o ./dist/lodash.compat.js` |
4 * Build: `lodash -o ./dist/lodash.compat.js` |
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> |
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> |
6 * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> |
6 * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> |
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors |
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors |
8 * Available under MIT license <http://lodash.com/license> |
8 * Available under MIT license <https://lodash.com/license> |
9 */ |
9 */ |
10 ;(function() { |
10 ;(function() { |
11 |
11 |
12 /** Used as a safe reference for `undefined` in pre ES5 environments */ |
12 /** Used as a safe reference for `undefined` in pre ES5 environments */ |
13 var undefined; |
13 var undefined; |
1816 * @param {Array} value The data array to set. |
1816 * @param {Array} value The data array to set. |
1817 */ |
1817 */ |
1818 var setBindData = !defineProperty ? noop : function(func, value) { |
1818 var setBindData = !defineProperty ? noop : function(func, value) { |
1819 descriptor.value = value; |
1819 descriptor.value = value; |
1820 defineProperty(func, '__bindData__', descriptor); |
1820 defineProperty(func, '__bindData__', descriptor); |
|
1821 descriptor.value = null; |
1821 }; |
1822 }; |
1822 |
1823 |
1823 /** |
1824 /** |
1824 * A fallback implementation of `isPlainObject` which checks if a given value |
1825 * A fallback implementation of `isPlainObject` which checks if a given value |
1825 * is an object created by the `Object` constructor, assuming objects created |
1826 * is an object created by the `Object` constructor, assuming objects created |
6487 * |
6488 * |
6488 * Note: In the development build, `_.template` utilizes sourceURLs for easier |
6489 * Note: In the development build, `_.template` utilizes sourceURLs for easier |
6489 * debugging. See http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl |
6490 * debugging. See http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl |
6490 * |
6491 * |
6491 * For more information on precompiling templates see: |
6492 * For more information on precompiling templates see: |
6492 * http://lodash.com/custom-builds |
6493 * https://lodash.com/custom-builds |
6493 * |
6494 * |
6494 * For more information on Chrome extension sandboxes see: |
6495 * For more information on Chrome extension sandboxes see: |
6495 * http://developer.chrome.com/stable/extensions/sandboxingEval.html |
6496 * http://developer.chrome.com/stable/extensions/sandboxingEval.html |
6496 * |
6497 * |
6497 * @static |
6498 * @static |
7056 * |
7057 * |
7057 * @static |
7058 * @static |
7058 * @memberOf _ |
7059 * @memberOf _ |
7059 * @type string |
7060 * @type string |
7060 */ |
7061 */ |
7061 lodash.VERSION = '2.4.1'; |
7062 lodash.VERSION = '2.4.2'; |
7062 |
7063 |
7063 // add "Chaining" functions to the wrapper |
7064 // add "Chaining" functions to the wrapper |
7064 lodash.prototype.chain = wrapperChain; |
7065 lodash.prototype.chain = wrapperChain; |
7065 lodash.prototype.toString = wrapperToString; |
7066 lodash.prototype.toString = wrapperToString; |
7066 lodash.prototype.value = wrapperValueOf; |
7067 lodash.prototype.value = wrapperValueOf; |