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 modern -o ./dist/lodash.js` |
4 * Build: `lodash modern -o ./dist/lodash.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; |
1492 * @param {Array} value The data array to set. |
1492 * @param {Array} value The data array to set. |
1493 */ |
1493 */ |
1494 var setBindData = !defineProperty ? noop : function(func, value) { |
1494 var setBindData = !defineProperty ? noop : function(func, value) { |
1495 descriptor.value = value; |
1495 descriptor.value = value; |
1496 defineProperty(func, '__bindData__', descriptor); |
1496 defineProperty(func, '__bindData__', descriptor); |
|
1497 descriptor.value = null; |
1497 }; |
1498 }; |
1498 |
1499 |
1499 /** |
1500 /** |
1500 * A fallback implementation of `isPlainObject` which checks if a given value |
1501 * A fallback implementation of `isPlainObject` which checks if a given value |
1501 * is an object created by the `Object` constructor, assuming objects created |
1502 * is an object created by the `Object` constructor, assuming objects created |
6137 * |
6138 * |
6138 * Note: In the development build, `_.template` utilizes sourceURLs for easier |
6139 * Note: In the development build, `_.template` utilizes sourceURLs for easier |
6139 * debugging. See http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl |
6140 * debugging. See http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl |
6140 * |
6141 * |
6141 * For more information on precompiling templates see: |
6142 * For more information on precompiling templates see: |
6142 * http://lodash.com/custom-builds |
6143 * https://lodash.com/custom-builds |
6143 * |
6144 * |
6144 * For more information on Chrome extension sandboxes see: |
6145 * For more information on Chrome extension sandboxes see: |
6145 * http://developer.chrome.com/stable/extensions/sandboxingEval.html |
6146 * http://developer.chrome.com/stable/extensions/sandboxingEval.html |
6146 * |
6147 * |
6147 * @static |
6148 * @static |
6706 * |
6707 * |
6707 * @static |
6708 * @static |
6708 * @memberOf _ |
6709 * @memberOf _ |
6709 * @type string |
6710 * @type string |
6710 */ |
6711 */ |
6711 lodash.VERSION = '2.4.1'; |
6712 lodash.VERSION = '2.4.2'; |
6712 |
6713 |
6713 // add "Chaining" functions to the wrapper |
6714 // add "Chaining" functions to the wrapper |
6714 lodash.prototype.chain = wrapperChain; |
6715 lodash.prototype.chain = wrapperChain; |
6715 lodash.prototype.toString = wrapperToString; |
6716 lodash.prototype.toString = wrapperToString; |
6716 lodash.prototype.value = wrapperValueOf; |
6717 lodash.prototype.value = wrapperValueOf; |