Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moved transition fallback modules into transitions folder

Created meta-module jquery.mobile.transitions.js
  • Loading branch information...
commit 161c7ad40cf711bc4c228a77b2fdd80c9b8b2220 1 parent 66197e0
@gseguin gseguin authored
View
14 js/index.php
@@ -22,13 +22,13 @@
'jquery.mobile.navigation.js',
'jquery.mobile.navigation.pushstate.js',
'jquery.mobile.transition.js',
- 'jquery.mobile.transition.pop.js',
- 'jquery.mobile.transition.slide.js',
- 'jquery.mobile.transition.slidedown.js',
- 'jquery.mobile.transition.slideup.js',
- 'jquery.mobile.transition.flip.js',
- 'jquery.mobile.transition.flow.js',
- 'jquery.mobile.transition.turn.js',
+ 'transitions/jquery.mobile.transition.pop.js',
+ 'transitions/jquery.mobile.transition.slide.js',
+ 'transitions/jquery.mobile.transition.slidedown.js',
+ 'transitions/jquery.mobile.transition.slideup.js',
+ 'transitions/jquery.mobile.transition.flip.js',
+ 'transitions/jquery.mobile.transition.flow.js',
+ 'transitions/jquery.mobile.transition.turn.js',
'jquery.mobile.degradeInputs.js',
'jquery.mobile.dialog.js',
'jquery.mobile.page.sections.js',
View
8 js/jquery.mobile.js
@@ -6,13 +6,7 @@ define([
'./jquery.mobile.loader',
'./jquery.mobile.navigation',
'./jquery.mobile.navigation.pushstate',
- './jquery.mobile.transition.pop',
- './jquery.mobile.transition.slide',
- './jquery.mobile.transition.slidedown',
- './jquery.mobile.transition.slideup',
- './jquery.mobile.transition.flip',
- './jquery.mobile.transition.flow',
- './jquery.mobile.transition.turn',
+ './jquery.mobile.transitions',
'./jquery.mobile.degradeInputs',
'./jquery.mobile.dialog',
'./jquery.mobile.page.sections',
View
19 js/jquery.mobile.transitions.js
@@ -0,0 +1,19 @@
+//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
+//>>description: All the stock transitions
+//>>label: All Transitions
+//>>group: Transitions
+
+define( [
+ "./transitions/jquery.mobile.transition.flip",
+ "./transitions/jquery.mobile.transition.flow",
+ "./transitions/jquery.mobile.transition.pop",
+ "./transitions/jquery.mobile.transition.slide",
+ "./transitions/jquery.mobile.transition.slidedown",
+ "./transitions/jquery.mobile.transition.slidefade",
+ "./transitions/jquery.mobile.transition.slideup",
+ "./transitions/jquery.mobile.transition.turn"
+], function( $ ) {
+//>>excludeEnd("jqmBuildExclude");
+//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
+});
+//>>excludeEnd("jqmBuildExclude");
View
6 js/jquery.mobile.transition.flip.js → js/transitions/jquery.mobile.transition.flip.js
@@ -3,12 +3,12 @@
*/
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
-//>>description: Animation styles and fallback transition definition for non-3D supporting browsers
+//>>description: Animation styles and fallback transitions definition for non-3D supporting browsers
//>>label: Flip Transition
//>>group: Transitions
-//>>css.structure: ../css/structure/jquery.mobile.transition.flip.css
+//>>css.structure: ../../css/structure/jquery.mobile.transitions.flip.css
-define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) {
+define( [ "../jquery", "../jquery.mobile.transition" ], function( $ ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
View
6 js/jquery.mobile.transition.flow.js → js/transitions/jquery.mobile.transition.flow.js
@@ -3,12 +3,12 @@
*/
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
-//>>description: Animation styles and fallback transition definition for non-3D supporting browsers
+//>>description: Animation styles and fallback transitions definition for non-3D supporting browsers
//>>label: Flow Transition
//>>group: Transitions
-//>>css.structure: ../css/structure/jquery.mobile.transition.flow.css
+//>>css.structure: ../../css/structure/jquery.mobile.transitions.flow.css
-define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) {
+define( [ "../jquery", "../jquery.mobile.transition" ], function( $ ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
View
6 js/jquery.mobile.transition.pop.js → js/transitions/jquery.mobile.transition.pop.js
@@ -3,12 +3,12 @@
*/
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
-//>>description: Animation styles and fallback transition definition for non-3D supporting browsers
+//>>description: Animation styles and fallback transitions definition for non-3D supporting browsers
//>>label: Pop Transition
//>>group: Transitions
-//>>css.structure: ../css/structure/jquery.mobile.transition.pop.css
+//>>css.structure: ../../css/structure/jquery.mobile.transitions.pop.css
-define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) {
+define( [ "../jquery", "../jquery.mobile.transition" ], function( $ ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
View
10 js/jquery.mobile.transition.slide.js → js/transitions/jquery.mobile.transition.slide.js
@@ -3,19 +3,19 @@
*/
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
-//>>description: Animation styles and fallback transition definition for non-3D supporting browsers
+//>>description: Animation styles and fallback transitions definition for non-3D supporting browsers
//>>label: Slide Transition
//>>group: Transitions
-//>>css.structure: ../css/structure/jquery.mobile.transition.slide.css
+//>>css.structure: ../../css/structure/jquery.mobile.transitions.slide.css
-define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) {
+define( [ "../jquery", "../jquery.mobile.transition" ], function( $ ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
-// Use the simultaneous transition handler for slide transitions
+// Use the simultaneous transitions handler for slide transitions
$.mobile.transitionHandlers.slide = $.mobile.transitionHandlers.simultaneous;
-// Set the slide transition's fallback to "fade"
+// Set the slide transitions's fallback to "fade"
$.mobile.transitionFallbacks.slide = "fade";
})( jQuery, this );
View
6 js/jquery.mobile.transition.slidedown.js → js/transitions/jquery.mobile.transition.slidedown.js
@@ -3,12 +3,12 @@
*/
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
-//>>description: Animation styles and fallback transition definition for non-3D supporting browsers
+//>>description: Animation styles and fallback transitions definition for non-3D supporting browsers
//>>label: Slidedown Transition
//>>group: Transitions
-//>>css.structure: ../css/structure/jquery.mobile.transition.slidedown.css
+//>>css.structure: ../../css/structure/jquery.mobile.transitions.slidedown.css
-define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) {
+define( [ "../jquery", "../jquery.mobile.transition" ], function( $ ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
View
8 js/jquery.mobile.transition.slidefade.js → js/transitions/jquery.mobile.transition.slidefade.js
@@ -3,16 +3,16 @@
*/
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
-//>>description: Animation styles and fallback transition definition for non-3D supporting browsers
+//>>description: Animation styles and fallback transitions definition for non-3D supporting browsers
//>>label: Slidefade Transition
//>>group: Transitions
-//>>css.structure: ../css/structure/jquery.mobile.transition.slidefade.css
+//>>css.structure: ../../css/structure/jquery.mobile.transitions.slidefade.css
-define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) {
+define( [ "../jquery", "../jquery.mobile.transition" ], function( $ ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
-// Set the slide transition's fallback to "fade"
+// Set the slide transitions's fallback to "fade"
$.mobile.transitionFallbacks.slidefade = "fade";
})( jQuery, this );
View
6 js/jquery.mobile.transition.slideup.js → js/transitions/jquery.mobile.transition.slideup.js
@@ -3,12 +3,12 @@
*/
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
-//>>description: Animation styles and fallback transition definition for non-3D supporting browsers
+//>>description: Animation styles and fallback transitions definition for non-3D supporting browsers
//>>label: Slideup Transition
//>>group: Transitions
-//>>css.structure: ../css/structure/jquery.mobile.transition.slideup.css
+//>>css.structure: ../../css/structure/jquery.mobile.transitions.slideup.css
-define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) {
+define( [ "../jquery", "../jquery.mobile.transition" ], function( $ ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
View
6 js/jquery.mobile.transition.turn.js → js/transitions/jquery.mobile.transition.turn.js
@@ -3,12 +3,12 @@
*/
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
-//>>description: Animation styles and fallback transition definition for non-3D supporting browsers
+//>>description: Animation styles and fallback transitions definition for non-3D supporting browsers
//>>label: Turn Transition
//>>group: Transitions
-//>>css.structure: ../css/structure/jquery.mobile.transition.turn.css
+//>>css.structure: ../../css/structure/jquery.mobile.transitions.turn.css
-define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) {
+define( [ "../jquery", "../jquery.mobile.transition" ], function( $ ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
Please sign in to comment.
Something went wrong with that request. Please try again.