Round two of modularize exports=node support.

Former-commit-id: 8a764774804f194f3fa344219cc8464190c4405f
This commit is contained in:
John-David Dalton
2013-08-20 09:23:02 -07:00
parent a562126f2f
commit 84759de36f
2 changed files with 49 additions and 37 deletions

View File

@@ -6,7 +6,7 @@
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <http://lodash.com/license>
*/
;(function(window) {
;(function() {
/** Used as a safe reference for `undefined` in pre ES5 environments */
var undefined;
@@ -128,6 +128,9 @@
'\u2029': 'u2029'
};
/** Used as a reference to the global object */
var window = this;
/** Detect free variable `exports` */
var freeExports = objectTypes[typeof exports] && exports;
@@ -6600,4 +6603,4 @@
// in a browser or Rhino
window._ = _;
}
}(this));
}.call(this));