Rebuild files, adding lodash.legacy and lodash.mobile builds, and update docs. [closes #190]

Former-commit-id: 6167b81d8baf1e491b8cbb3e3c68c01ae6ddd865
This commit is contained in:
John-David Dalton
2013-02-23 14:56:50 -08:00
parent 756587d080
commit f0322e6f2c
7 changed files with 175 additions and 166 deletions

9
dist/lodash.js vendored
View File

@@ -7,7 +7,10 @@
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc.
* Available under MIT license <http://lodash.com/license>
*/
;(function(window, undefined) {
;(function(window) {
/** Used as a safe reference for `undefined` in pre ES5 environments */
var undefined;
/** Detect free variable `exports` */
var freeExports = typeof exports == 'object' && exports;
@@ -110,7 +113,7 @@
* @static
* @memberOf _
* @category Utilities
* @param {Object} context The context object.
* @param {Object} [context=window] The context object.
* @returns {Function} Returns the `lodash` function.
*/
function runInContext(context) {
@@ -4981,9 +4984,9 @@
/*--------------------------------------------------------------------------*/
// expose Lo-Dash
var lodash = runInContext();
// expose Lo-Dash
// some AMD build optimizers, like r.js, check for specific condition patterns like the following:
if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {
// Expose Lo-Dash to the global object even when an AMD loader is present in