diff options
Diffstat (limited to 'libs/js/jquery-mobile-1.1.0/build/wrap.start')
-rw-r--r-- | libs/js/jquery-mobile-1.1.0/build/wrap.start | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/js/jquery-mobile-1.1.0/build/wrap.start b/libs/js/jquery-mobile-1.1.0/build/wrap.start new file mode 100644 index 00000000..39a106cc --- /dev/null +++ b/libs/js/jquery-mobile-1.1.0/build/wrap.start @@ -0,0 +1,12 @@ +(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 ) {
\ No newline at end of file |