From a6f474e699f95a90f95228bd525490151acc0451 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Thu, 19 Dec 2013 15:00:06 -0500 Subject: Build: Add the ability to remove global exposure. Ref #14016 --- src/jquery.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/jquery.js') diff --git a/src/jquery.js b/src/jquery.js index ef8745c7b..46460fa96 100644 --- a/src/jquery.js +++ b/src/jquery.js @@ -27,12 +27,10 @@ define([ "./offset", "./dimensions", "./deprecated", - "./exports/amd" + "./exports/amd", + "./exports/global" ], function( jQuery ) { -// Expose jQuery and $ identifiers, even in -// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557) -// and CommonJS for browser emulators (#13566) -return (window.jQuery = window.$ = jQuery); +return jQuery; }); -- cgit v1.2.3