commonjs jquery

This commit is contained in:
Chris Wanstrath 2011-08-27 01:59:01 -07:00
parent aa06f5c66a
commit efc824b082

View File

@ -8977,5 +8977,9 @@ jQuery.each([ "Height", "Width" ], function( i, name ) {
// Expose jQuery to the global object
window.jQuery = window.$ = jQuery;
if (typeof module !== 'undefined' && module.exports) {
module.exports = jQuery;
} else {
window.jQuery = window.$ = jQuery;
}
})(window);