mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
parent
854d242db4
commit
2585ee5880
@ -215,3 +215,4 @@ John Paul <john@johnkpaul.com>
|
|||||||
Jakob Stoeck <jakob@pokermania.de>
|
Jakob Stoeck <jakob@pokermania.de>
|
||||||
Christopher Jones <chris@cjqed.com>
|
Christopher Jones <chris@cjqed.com>
|
||||||
Forbes Lindesay <forbes@lindesay.co.uk>
|
Forbes Lindesay <forbes@lindesay.co.uk>
|
||||||
|
S. Andrew Sheppard <andrew@wq.io>
|
||||||
|
@ -9,6 +9,12 @@ define([
|
|||||||
// derived from file names, and jQuery is normally delivered in a lowercase
|
// derived from file names, and jQuery is normally delivered in a lowercase
|
||||||
// file name. Do this after creating the global so that if an AMD module wants
|
// file name. Do this after creating the global so that if an AMD module wants
|
||||||
// to call noConflict to hide this version of jQuery, it will work.
|
// to call noConflict to hide this version of jQuery, it will work.
|
||||||
|
|
||||||
|
// Note that for maximum portability, libraries that are not jQuery should
|
||||||
|
// declare themselves as anonymous modules, and avoid setting a global if an
|
||||||
|
// AMD loader is present. jQuery is a special case. For more information, see
|
||||||
|
// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
|
||||||
|
|
||||||
if ( typeof define === "function" && define.amd ) {
|
if ( typeof define === "function" && define.amd ) {
|
||||||
define( "jquery", [], function() {
|
define( "jquery", [], function() {
|
||||||
return jQuery;
|
return jQuery;
|
||||||
|
Loading…
Reference in New Issue
Block a user