From 1f67d07c60c37e60052db37fc03d42af482c2d03 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Thu, 4 Jul 2013 14:00:26 -0400 Subject: Support CommonJS environments by accentuating the need for a window with a document. Fixes #13768. --- src/outro.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/outro.js') diff --git a/src/outro.js b/src/outro.js index ac484391c..20cec437c 100644 --- a/src/outro.js +++ b/src/outro.js @@ -1,2 +1,6 @@ +// 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); -})( window ); +})); -- cgit v1.2.3