mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Fixed meta-module for docs
Moved dependency on jquery.mobile from jqm-docs to jquery.mobile.docs Use order! plugin to ensure that jquery.mobile gets executed (dumped) first Added pragmas around the jqm-docs define
This commit is contained in:
parent
e74eeda398
commit
2deb132a4f
2 changed files with 7 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
//set up the theme switcher on the homepage
|
||||
|
||||
define( [ "jquery.mobile" ], function() {
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
|
||||
//collapse page navs after use
|
||||
$(function(){
|
||||
|
|
@ -54,4 +55,6 @@ if ( location.protocol.substr(0,4) === 'file' ||
|
|||
});
|
||||
});
|
||||
}
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
});
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: jQuery Mobile documentation JS
|
||||
//>>label: Docs
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
|
||||
define( [ "../docs/_assets/js/jqm-docs" ] );
|
||||
define( [ "order!jquery.mobile", "order!../docs/_assets/js/jqm-docs" ] );
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
|
|
|
|||
Loading…
Reference in a new issue