From d87929d61cea82a84089f2266dd193fd86ebaa11 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 4 Feb 2013 19:48:55 -0800 Subject: [PATCH] Remove "use strict" directive from the "modern" builds. Former-commit-id: 7d1d5dd8cb91deb51fbdf7cfda04f3e49c96c204 --- dist/lodash.js | 5 ++--- dist/lodash.min.js | 8 ++++---- test/test.js | 4 ++-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/dist/lodash.js b/dist/lodash.js index 59edf7e8d..2fc9a3fa8 100644 --- a/dist/lodash.js +++ b/dist/lodash.js @@ -1,14 +1,13 @@ /** * @license * Lo-Dash 1.0.0-rc.3 (Custom Build) - * Build: `lodash strict modern -o ./dist/lodash.js` + * Build: `lodash modern -o ./dist/lodash.js` * Copyright 2012-2013 The Dojo Foundation * Based on Underscore.js 1.4.4 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc. * Available under MIT license */ ;(function(window, undefined) { - 'use strict'; /** Detect free variable `exports` */ var freeExports = typeof exports == 'object' && exports; @@ -277,7 +276,7 @@ */ var iteratorTemplate = function(obj) { - var __p = '\'use strict\';\nvar index, iterable = ' + + var __p = 'var index, iterable = ' + (obj.firstArg ) + ', result = iterable;\nif (!iterable) return result;\n' + (obj.top ) + diff --git a/dist/lodash.min.js b/dist/lodash.min.js index 519f2c761..46d303966 100644 --- a/dist/lodash.min.js +++ b/dist/lodash.min.js @@ -1,12 +1,12 @@ /** * @license * Lo-Dash 1.0.0-rc.3 (Custom Build) lodash.com/license - * Build: `lodash strict modern -o ./dist/lodash.js` + * Build: `lodash modern -o ./dist/lodash.js` * Underscore.js 1.4.4 underscorejs.org/LICENSE */ -;(function(n,t){"use strict";function r(n){return n&&typeof n=="object"&&n.__wrapped__?n:this instanceof r?(this.__wrapped__=n,void 0):new r(n)}function e(n,t,r){t||(t=0);var e=n.length,u=e-t>=(r||Z);if(u){var o={};for(r=t-1;++rt||typeof n=="undefined")return 1; -if(n=(r||Z);if(u){var o={};for(r=t-1;++rt||typeof n=="undefined")return 1;if(nr?0:r);++e