Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Build: Removed jquery.mobile prefix from filenames
Browse files Browse the repository at this point in the history
Fixes gh-6465
  • Loading branch information
gseguin committed Mar 3, 2014
1 parent 00e80c9 commit c8b08b4
Show file tree
Hide file tree
Showing 130 changed files with 385 additions and 361 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion js/jquery.mobile.buttonMarkup.js → js/buttonMarkup.js
Expand Up @@ -5,7 +5,7 @@
//>>css.structure: ../css/structure/jquery.mobile.core.css
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css

define( [ "jquery", "./jquery.mobile.core" ], function( jQuery ) {
define( [ "jquery", "./core" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");

// buttonMarkup is deprecated as of 1.4.0 and will be removed in 1.5.0.
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.mobile.core.js → js/core.js
Expand Up @@ -2,8 +2,8 @@
//>>group: exclude

define([
"./jquery.mobile.defaults",
"./jquery.mobile.data",
"./jquery.mobile.helpers"
"./defaults",
"./data",
"./helpers"
], function() {});
//>>excludeEnd("jqmBuildExclude");
2 changes: 1 addition & 1 deletion js/jquery.mobile.data.js → js/data.js
Expand Up @@ -5,7 +5,7 @@
//>>css.structure: ../css/structure/jquery.mobile.core.css
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css

define( [ "jquery", "./jquery.mobile.ns" ], function( jQuery ) {
define( [ "jquery", "./ns" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
var nsNormalizeDict = {},
Expand Down
2 changes: 1 addition & 1 deletion js/jquery.mobile.defaults.js → js/defaults.js
Expand Up @@ -5,7 +5,7 @@
//>>css.structure: ../css/structure/jquery.mobile.core.css
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css

define( [ "jquery", "./jquery.mobile.ns", "json!../package.json" ], function( jQuery, ns, pkg ) {
define( [ "jquery", "./ns", "json!../package.json" ], function( jQuery, ns, pkg ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions js/events/navigate.js
Expand Up @@ -7,8 +7,8 @@
define([
"jquery",
"jquery-plugins/jquery.hashchange",
"./../jquery.mobile.ns",
"./../jquery.mobile.support" ], function( jQuery ) {
"./../ns",
"./../support" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");

(function( $, undefined ) {
Expand Down
2 changes: 1 addition & 1 deletion js/events/orientationchange.js
Expand Up @@ -3,7 +3,7 @@
//>>label: Orientation Change
//>>group: Events

define( [ "jquery", "../jquery.mobile.support.orientation", "./throttledresize" ], function( jQuery ) {
define( [ "jquery", "../support.orientation", "./throttledresize" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");

(function( $, window ) {
Expand Down
2 changes: 1 addition & 1 deletion js/events/touch.js
Expand Up @@ -3,7 +3,7 @@
//>>label: Touch
//>>group: Events

define( [ "jquery", "../jquery.mobile.vmouse", "../jquery.mobile.support.touch" ], function( jQuery ) {
define( [ "jquery", "../vmouse", "../support.touch" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");

(function( $, window, undefined ) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion js/jquery.mobile.helpers.js → js/helpers.js
Expand Up @@ -5,7 +5,7 @@
//>>css.structure: ../css/structure/jquery.mobile.core.css
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css

define( [ "jquery", "./jquery.mobile.ns", "jquery-ui/jquery.ui.core" ], function( jQuery ) {
define( [ "jquery", "./ns", "jquery-ui/jquery.ui.core" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {

Expand Down
42 changes: 21 additions & 21 deletions js/index.php
Expand Up @@ -6,23 +6,23 @@
// to revert to the pre async include, and should not be
// used in other build methods
'jquery.mobile.define.js',
'jquery.mobile.ns.js',
'ns.js',
'../external/jquery-ui/jquery.ui.widget.js',
'jquery.mobile.widget.js',
'jquery.mobile.media.js',
'jquery.mobile.support.touch.js',
'jquery.mobile.support.orientation.js',
'jquery.mobile.support.js',
'jquery.mobile.vmouse.js',
'widget.js',
'media.js',
'support.touch.js',
'support.orientation.js',
'support.js',
'vmouse.js',
'events/touch.js',
'events/throttledresize.js',
'events/orientationchange.js',
'../external/jquery/plugins/jquery.hashchange.js',
'../external/jquery-ui/jquery.ui.core.js',
'jquery.mobile.defaults.js',
'jquery.mobile.helpers.js',
'jquery.mobile.data.js',
'jquery.mobile.animationComplete.js',
'defaults.js',
'helpers.js',
'data.js',
'animationComplete.js',
'widgets/page.js',
'widgets/page.dialog.js',
'widgets/loader.js',
Expand All @@ -33,7 +33,7 @@
'navigation/navigator.js',
'navigation/method.js',
'widgets/pagecontainer.js',
'jquery.mobile.navigation.js',
'navigation.js',
'transitions/transition.js',
'transitions/serial.js',
'transitions/concurrent.js',
Expand All @@ -46,18 +46,18 @@
'transitions/visuals/flip.js',
'transitions/visuals/flow.js',
'transitions/visuals/turn.js',
'jquery.mobile.degradeInputs.js',
'degradeInputs.js',
'widgets/dialog.js',
'widgets/collapsible.js',
'widgets/addFirstLastClasses.js',
'widgets/collapsibleSet.js',
'jquery.mobile.fieldContain.js',
'jquery.mobile.grid.js',
'fieldContain.js',
'grid.js',
'widgets/navbar.js',
'widgets/listview.js',
'widgets/listview.autodividers.js',
'widgets/listview.hidedividers.js',
'jquery.mobile.nojs.js',
'nojs.js',
'widgets/forms/reset.js',
'widgets/forms/checkboxradio.js',
'widgets/forms/button.js',
Expand All @@ -72,9 +72,9 @@
'widgets/forms/select.custom.js',
'widgets/filterable.js',
'widgets/filterable.backcompat.js',
'jquery.mobile.buttonMarkup.js',
'buttonMarkup.js',
'widgets/controlgroup.js',
'jquery.mobile.links.js',
'links.js',
'widgets/toolbar.js',
'widgets/fixedToolbar.js',
'widgets/fixedToolbar.workarounds.js',
Expand All @@ -86,9 +86,9 @@
'widgets/table.reflow.js',
'../external/jquery-ui/jquery.ui.tabs.js',
'widgets/tabs.js',
'jquery.mobile.zoom.js',
'jquery.mobile.zoom.iosorientationfix.js',
'jquery.mobile.init.js'
'zoom.js',
'zoom.iosorientationfix.js',
'init.js'
);

function getGitHeadPath() {
Expand Down
12 changes: 6 additions & 6 deletions js/jquery.mobile.init.js → js/init.js
Expand Up @@ -6,16 +6,16 @@
define([
"jquery",
"jquery-ui/jquery.ui.core",
"./jquery.mobile.defaults",
"./jquery.mobile.helpers",
"./jquery.mobile.data",
"./jquery.mobile.support",
"./defaults",
"./helpers",
"./data",
"./support",
"./events/navigate",
"./navigation/path",
"./navigation/method",
"./jquery.mobile.navigation",
"./navigation",
"./widgets/loader",
"./jquery.mobile.vmouse",
"./vmouse",
"jquery-plugins/jquery.hashchange" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, window, undefined ) {
Expand Down
22 changes: 11 additions & 11 deletions js/jquery.mobile.js
Expand Up @@ -11,20 +11,20 @@ define([
"./navigation/method",
"./transitions/handlers",
"./transitions/visuals",
"./jquery.mobile.animationComplete.js",
"./jquery.mobile.navigation",
"./jquery.mobile.degradeInputs",
"./animationComplete",
"./navigation",
"./degradeInputs",
"./widgets/page.dialog",
"./widgets/dialog",
"./widgets/collapsible",
"./widgets/collapsibleSet",
"./jquery.mobile.fieldContain",
"./jquery.mobile.grid",
"./fieldContain",
"./grid",
"./widgets/navbar",
"./widgets/listview",
"./widgets/listview.autodividers",
"./widgets/listview.hidedividers",
"./jquery.mobile.nojs",
"./nojs",
"./widgets/forms/checkboxradio",
"./widgets/forms/button",
"./widgets/forms/slider",
Expand All @@ -36,9 +36,9 @@ define([
"./widgets/forms/autogrow",
"./widgets/forms/select.custom",
"./widgets/forms/select",
"./jquery.mobile.buttonMarkup",
"./buttonMarkup",
"./widgets/controlgroup",
"./jquery.mobile.links",
"./links",
"./widgets/toolbar",
"./widgets/fixedToolbar",
"./widgets/fixedToolbar.workarounds",
Expand All @@ -51,9 +51,9 @@ define([
"./widgets/filterable",
"./widgets/filterable.backcompat",
"./widgets/tabs",
"./jquery.mobile.zoom",
"./jquery.mobile.zoom.iosorientationfix"
"./zoom",
"./zoom.iosorientationfix"
], function( require ) {
require( [ "./jquery.mobile.init" ], function() {} );
require( [ "./init" ], function() {} );
});
//>>excludeEnd("jqmBuildExclude");
2 changes: 1 addition & 1 deletion js/jquery.mobile.links.js → js/links.js
Expand Up @@ -4,7 +4,7 @@
//>>group: Utilities

define( [ "jquery",
"./jquery.mobile.core",
"./core",
"./navigation/path" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {
Expand Down
2 changes: 1 addition & 1 deletion js/jquery.mobile.media.js → js/media.js
Expand Up @@ -3,7 +3,7 @@
//>>label: Match Media Polyfill
//>>group: Utilities

define( [ "jquery", "./jquery.mobile.core" ], function( jQuery ) {
define( [ "jquery", "./core" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {

Expand Down
8 changes: 4 additions & 4 deletions js/jquery.mobile.navigation.js → js/navigation.js
Expand Up @@ -4,16 +4,16 @@
//>>group: Navigation
define( [
"jquery",
"./jquery.mobile.core",
"./core",
"./navigation/path",
"./events/navigate",
"./navigation/history",
"./navigation/navigator",
"./navigation/method",
"./jquery.mobile.events",
"./jquery.mobile.support",
"./events",
"./support",
"jquery-plugins/jquery.hashchange",
"./jquery.mobile.animationComplete",
"./animationComplete",
"./widgets/pagecontainer",
"./widgets/page",
"./transitions/handlers" ], function( jQuery ) {
Expand Down
2 changes: 1 addition & 1 deletion js/navigation/base.js
Expand Up @@ -5,7 +5,7 @@
define([
"jquery",
"./path",
"./../jquery.mobile.ns" ], function( jQuery ) {
"./../ns" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");

(function( $, undefined ) {
Expand Down
2 changes: 1 addition & 1 deletion js/navigation/history.js
Expand Up @@ -2,7 +2,7 @@
//>>description: Manages a stack of history entries. Used exclusively by the Navigation Manager
//>>label: History Manager
//>>group: Navigation
define([ "jquery", "./../jquery.mobile.ns", "./path" ], function( jQuery ) {
define([ "jquery", "./../ns", "./path" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");

(function( $, undefined ) {
Expand Down
2 changes: 1 addition & 1 deletion js/navigation/navigator.js
Expand Up @@ -3,7 +3,7 @@
//>>label: Navigation Manager
//>>group: Navigation
define(["jquery",
"./../jquery.mobile.ns",
"./../ns",
"../events/navigate",
"./path",
"./history" ], function( jQuery ) {
Expand Down
2 changes: 1 addition & 1 deletion js/navigation/path.js
Expand Up @@ -4,7 +4,7 @@
//>>group: Navigation
define([
"jquery",
"./../jquery.mobile.ns" ], function( jQuery ) {
"./../ns" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");

(function( $, undefined ) {
Expand Down
2 changes: 1 addition & 1 deletion js/jquery.mobile.nojs.js → js/nojs.js
Expand Up @@ -5,7 +5,7 @@

define( [
"jquery",
"./jquery.mobile.ns"
"./ns"
], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion js/jquery.mobile.support.js → js/support.js
Expand Up @@ -2,7 +2,7 @@
//>>description: Assorted tests to qualify browsers by detecting features
//>>label: Support Tests
//>>group: Core
define( [ "jquery", "./jquery.mobile.core", "./jquery.mobile.media", "./jquery.mobile.support.touch", "./jquery.mobile.support.orientation" ], function( jQuery ) {
define( [ "jquery", "./core", "./media", "./support.touch", "./support.orientation" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion js/jquery.mobile.support.touch.js → js/support.touch.js
Expand Up @@ -3,7 +3,7 @@
//>>label: Touch support test
//>>group: Core

define( [ "jquery", "./jquery.mobile.ns" ], function( jQuery ) {
define( [ "jquery", "./ns" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {
var support = {
Expand Down
2 changes: 1 addition & 1 deletion js/transitions/handlers.js
Expand Up @@ -3,7 +3,7 @@
//>>label: Transition Handlers
//>>group: Transitions

define( ["jquery", "../jquery.mobile.core", "./serial", "./concurrent"], function( jQuery ) {
define( ["jquery", "../core", "./serial", "./concurrent"], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");

(function( $ ) {
Expand Down
2 changes: 1 addition & 1 deletion js/transitions/serial.js
Expand Up @@ -3,7 +3,7 @@
//>>label: Transition Serial
//>>group: Transitions

define( [ "jquery", "../jquery.mobile.animationComplete", "./transition" ], function( jQuery ) {
define( [ "jquery", "../animationComplete", "./transition" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");

(function( $ ) {
Expand Down
6 changes: 3 additions & 3 deletions js/transitions/transition.js
Expand Up @@ -6,14 +6,14 @@
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css

define( [ "jquery",
"../jquery.mobile.core",
"../core",

// TODO event.special.scrollstart
"../events/touch",
"../jquery.mobile.animationComplete",
"../animationComplete",

// TODO $.mobile.focusPage reference
"../jquery.mobile.navigation" ], function( jQuery ) {
"../navigation" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");

(function( $, window, undefined ) {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions js/jquery.mobile.widget.js → js/widget.js
Expand Up @@ -5,9 +5,9 @@
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css

define( [ "jquery",
"./jquery.mobile.ns",
"./ns",
"jquery-ui/jquery.ui.widget",
"./jquery.mobile.data" ], function( jQuery ) {
"./data" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {

Expand Down

0 comments on commit c8b08b4

Please sign in to comment.