mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
12 lines
No EOL
361 B
Text
12 lines
No EOL
361 B
Text
(function ( root, doc, factory ) {
|
|
if ( typeof define === "function" && define.amd ) {
|
|
// AMD. Register as an anonymous module.
|
|
define( [ "jquery" ], function ( $ ) {
|
|
factory( $, root, doc );
|
|
return $.mobile;
|
|
});
|
|
} else {
|
|
// Browser globals
|
|
factory( root.jQuery, root, doc );
|
|
}
|
|
}( this, document, function ( $, window, document, undefined ) { |