Skip to content

Commit 3da7657

Browse files
committed
Core: Fix dependencies
1 parent c7884ca commit 3da7657

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ module.exports = function( grunt ) {
6969
"js/**/*.js",
7070
"!js/jquery.hashchange.js",
7171
"!js/jquery.js",
72-
"!js/jquery.ui.widget.js"
72+
"!js/jquery.ui.widget.js",
73+
"!js/widgets/jquery.ui.tabs.js"
7374
]
7475
}
7576
},

js/jquery.mobile.core.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
2+
//>>group: exclude
3+
4+
define([
5+
"require",
6+
"./jquery.mobile.defaults",
7+
"./jquery.mobile.data",
8+
"./jquery.mobile.helpers"
9+
]);
10+
//>>excludeEnd("jqmBuildExclude");

js/jquery.mobile.data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//>>css.structure: ../css/structure/jquery.mobile.core.css
66
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css
77

8-
define( [ "jquery", "./jquery.mobile.ns", "json!../package.json" ], function( jQuery, ns, pkg, __version__ ) {
8+
define( [ "jquery", "./jquery.mobile.ns", "json!../package.json" ], function( jQuery ) {
99
//>>excludeEnd("jqmBuildExclude");
1010
(function( $, window, undefined ) {
1111
var nsNormalizeDict = {},

js/jquery.mobile.helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//>>css.structure: ../css/structure/jquery.mobile.core.css
66
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css
77

8-
define( [ "jquery", "./jquery.mobile.ns", "json!../package.json" ], function( jQuery, ns, pkg, __version__ ) {
8+
define( [ "jquery", "./jquery.mobile.ns", "json!../package.json" ], function( jQuery ) {
99
//>>excludeEnd("jqmBuildExclude");
1010
(function( $, window, undefined ) {
1111

@@ -36,7 +36,7 @@ define( [ "jquery", "./jquery.mobile.ns", "json!../package.json" ], function( jQ
3636
},
3737

3838
// Place to store various widget extensions
39-
behaviors: {}
39+
behaviors: {},
4040
// Scroll page vertically: scroll to 0 to hide iOS address bar, or pass a Y value
4141
silentScroll: function( ypos ) {
4242
if ( $.type( ypos ) !== "number" ) {

js/widgets/tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//>>group: Widgets
55
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css
66

7-
define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core","../jquery.ui.tabs", "../jquery.mobile.registry" ], function( jQuery ) {
7+
define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core","./jquery.ui.tabs", "../jquery.mobile.registry" ], function( jQuery ) {
88
//>>excludeEnd("jqmBuildExclude");
99
(function( $, undefined ) {
1010

0 commit comments

Comments
 (0)