From 096e90bbfe42c5a4f694db571d3948bc5fe0e632 Mon Sep 17 00:00:00 2001 From: jrburke Date: Tue, 24 Jan 2012 14:43:24 -0800 Subject: [PATCH] Update to relative AMD dependencies, allows proper use of source in an AMD project. --- js/jquery.mobile.buttonMarkup.js | 2 +- js/jquery.mobile.collapsible.js | 2 +- js/jquery.mobile.collapsibleSet.js | 2 +- js/jquery.mobile.controlGroup.js | 2 +- js/jquery.mobile.core.js | 2 +- js/jquery.mobile.degradeInputs.js | 2 +- js/jquery.mobile.dialog.js | 2 +- js/jquery.mobile.event.js | 2 +- js/jquery.mobile.fixedToolbar.js | 2 +- js/jquery.mobile.forms.button.js | 2 +- js/jquery.mobile.forms.checkboxradio.js | 2 +- js/jquery.mobile.forms.select.custom.js | 14 ++-- js/jquery.mobile.forms.select.js | 2 +- js/jquery.mobile.forms.slider.js | 2 +- js/jquery.mobile.forms.textinput.js | 2 +- js/jquery.mobile.init.js | 2 +- js/jquery.mobile.js | 89 +++++++++++----------- js/jquery.mobile.listview.filter.js | 2 +- js/jquery.mobile.listview.js | 2 +- js/jquery.mobile.media.js | 2 +- js/jquery.mobile.navbar.js | 2 +- js/jquery.mobile.navigation.js | 10 +-- js/jquery.mobile.navigation.pushstate.js | 2 +- js/jquery.mobile.page.js | 2 +- js/jquery.mobile.page.sections.js | 2 +- js/jquery.mobile.support.js | 4 +- js/jquery.mobile.transition.flip.js | 2 +- js/jquery.mobile.transition.flow.js | 2 +- js/jquery.mobile.transition.js | 2 +- js/jquery.mobile.transition.pop.js | 2 +- js/jquery.mobile.transition.slide.js | 2 +- js/jquery.mobile.transition.slidedown.js | 2 +- js/jquery.mobile.transition.slideup.js | 2 +- js/jquery.mobile.transition.turn.js | 2 +- js/jquery.mobile.widget.js | 2 +- js/jquery.mobile.zoom.iosorientationfix.js | 2 +- js/jquery.mobile.zoom.js | 2 +- tests/unit/support/index.html | 2 - 38 files changed, 91 insertions(+), 94 deletions(-) diff --git a/js/jquery.mobile.buttonMarkup.js b/js/jquery.mobile.buttonMarkup.js index 884025de..a5b61424 100755 --- a/js/jquery.mobile.buttonMarkup.js +++ b/js/jquery.mobile.buttonMarkup.js @@ -2,7 +2,7 @@ //>>description: For making button-like links. //>>label: Buttons -define( [ "jquery", "jquery.mobile.core", "jquery.mobile.vmouse" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core", "./jquery.mobile.vmouse" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); ( function( $, undefined ) { diff --git a/js/jquery.mobile.collapsible.js b/js/jquery.mobile.collapsible.js index ac72d8d1..b1227c3c 100644 --- a/js/jquery.mobile.collapsible.js +++ b/js/jquery.mobile.collapsible.js @@ -1,7 +1,7 @@ //>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude); //>>description: Creates collapsible content areas. //>>label: Collapsibles -define( [ "jquery", "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.buttonMarkup" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.collapsibleSet.js b/js/jquery.mobile.collapsibleSet.js index 5a4ef993..9583cc83 100644 --- a/js/jquery.mobile.collapsibleSet.js +++ b/js/jquery.mobile.collapsibleSet.js @@ -2,7 +2,7 @@ //>>description: For creating grouped collapsible content areas. //>>label: Collapsible Sets -define( [ "jquery", "jquery.mobile.widget", "jquery.mobile.collapsible" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.collapsible" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.controlGroup.js b/js/jquery.mobile.controlGroup.js index 7753f87e..73ded106 100644 --- a/js/jquery.mobile.controlGroup.js +++ b/js/jquery.mobile.controlGroup.js @@ -2,7 +2,7 @@ //>>description: Corner-rounding for groups of buttons, checks, radios, etc //>>label: Controlgroups -define( [ "jquery", "jquery.mobile.buttonMarkup" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.buttonMarkup" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index 37a8ba2f..348f359d 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -4,7 +4,7 @@ //>>group: core //>>required: true -define( [ "jquery", "jquery.mobile.widget" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.widget" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.degradeInputs.js b/js/jquery.mobile.degradeInputs.js index fc32ecf6..e28111af 100644 --- a/js/jquery.mobile.degradeInputs.js +++ b/js/jquery.mobile.degradeInputs.js @@ -2,7 +2,7 @@ //>>description: Degrades inputs to another type after custom enhancements are made. //>>label: Degrade Inputs -define( [ "jquery", "jquery.mobile.page" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.page" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.dialog.js b/js/jquery.mobile.dialog.js index 904eeecd..aaf1be0e 100644 --- a/js/jquery.mobile.dialog.js +++ b/js/jquery.mobile.dialog.js @@ -2,7 +2,7 @@ //>>description: Degrades inputs to another type after custom enhancements are made. //>>label: Dialog-style Pages -define( [ "jquery", "jquery.mobile.widget" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.widget" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.event.js b/js/jquery.mobile.event.js index d9041748..f32329cc 100644 --- a/js/jquery.mobile.event.js +++ b/js/jquery.mobile.event.js @@ -4,7 +4,7 @@ //>>group: core //>>required: true -define( [ "jquery", "jquery.mobile.core", "jquery.mobile.media", "jquery.mobile.support", "jquery.mobile.vmouse" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core", "./jquery.mobile.media", "./jquery.mobile.support", "./jquery.mobile.vmouse" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.fixedToolbar.js b/js/jquery.mobile.fixedToolbar.js index 0eb9d4a9..4989224e 100644 --- a/js/jquery.mobile.fixedToolbar.js +++ b/js/jquery.mobile.fixedToolbar.js @@ -2,7 +2,7 @@ //>>description: Behavior for "fixed" headers and footers //>>label: Fixedtoolbar -define( [ "jquery", "jquery.mobile.widget", "jquery.mobile.core", "jquery.mobile.navigation", "jquery.mobile.page", "jquery.mobile.page.sections", "jquery.mobile.zoom" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.core", "./jquery.mobile.navigation", "./jquery.mobile.page", "./jquery.mobile.page.sections", "./jquery.mobile.zoom" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.forms.button.js b/js/jquery.mobile.forms.button.js index bd0fe3a0..a2ca9df8 100644 --- a/js/jquery.mobile.forms.button.js +++ b/js/jquery.mobile.forms.button.js @@ -2,7 +2,7 @@ //>>description: Form Buttons //>>label: links that proxy to native input/buttons -define( [ "jquery", "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.buttonMarkup" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.forms.checkboxradio.js b/js/jquery.mobile.forms.checkboxradio.js index 7fd71075..c1d7b38a 100644 --- a/js/jquery.mobile.forms.checkboxradio.js +++ b/js/jquery.mobile.forms.checkboxradio.js @@ -6,7 +6,7 @@ //>>description: Consistent styling for checkboxes/radio buttons. //>>label: Checkboxes/Radio Buttons -define( [ "jquery", "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core", "./jquery.mobile.widget", "./jquery.mobile.buttonMarkup" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.forms.select.custom.js b/js/jquery.mobile.forms.select.custom.js index 3fd6137e..1b6571bb 100644 --- a/js/jquery.mobile.forms.select.custom.js +++ b/js/jquery.mobile.forms.select.custom.js @@ -8,14 +8,14 @@ define( [ "jquery", - "jquery.mobile.buttonMarkup", - "jquery.mobile.core", - "jquery.mobile.dialog", - "jquery.mobile.forms.select", - "jquery.mobile.listview", - "jquery.mobile.page", + "./jquery.mobile.buttonMarkup", + "./jquery.mobile.core", + "./jquery.mobile.dialog", + "./jquery.mobile.forms.select", + "./jquery.mobile.listview", + "./jquery.mobile.page", // NOTE expects ui content in the defined page, see selector for menuPageContent definition - "jquery.mobile.page.sections" ], function( $ ) { + "./jquery.mobile.page.sections" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { var extendSelect = function( widget ){ diff --git a/js/jquery.mobile.forms.select.js b/js/jquery.mobile.forms.select.js index 72a6456e..7eecde96 100644 --- a/js/jquery.mobile.forms.select.js +++ b/js/jquery.mobile.forms.select.js @@ -2,7 +2,7 @@ //>>description: Consistent styling for native select menus. //>>label: Enhanced Native Selects -define( [ "jquery", "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.buttonMarkup", "jquery.mobile.zoom" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core", "./jquery.mobile.widget", "./jquery.mobile.buttonMarkup", "./jquery.mobile.zoom" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.forms.slider.js b/js/jquery.mobile.forms.slider.js index 76ca9d59..d5289370 100644 --- a/js/jquery.mobile.forms.slider.js +++ b/js/jquery.mobile.forms.slider.js @@ -2,7 +2,7 @@ //>>description: Slider form widget //>>label: Slider -define( [ "jquery", "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.forms.textinput", "jquery.mobile.buttonMarkup" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core", "./jquery.mobile.widget", "./jquery.mobile.forms.textinput", "./jquery.mobile.buttonMarkup" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); ( function( $, undefined ) { diff --git a/js/jquery.mobile.forms.textinput.js b/js/jquery.mobile.forms.textinput.js index bca87149..4ced4673 100644 --- a/js/jquery.mobile.forms.textinput.js +++ b/js/jquery.mobile.forms.textinput.js @@ -2,7 +2,7 @@ //>>description: Enhances and consistently styles text inputs. //>>label: Text Inputs -define( [ "jquery", "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.degradeInputs", "jquery.mobile.buttonMarkup" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core", "./jquery.mobile.widget", "./jquery.mobile.degradeInputs", "./jquery.mobile.buttonMarkup" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.init.js b/js/jquery.mobile.init.js index ed1dfbba..c5b45a93 100644 --- a/js/jquery.mobile.init.js +++ b/js/jquery.mobile.init.js @@ -2,7 +2,7 @@ //>>description: Applies classes for grid styling. //>>label: CSS Grid Tool -define( [ "jquery", "jquery.mobile.core", "jquery.mobile.navigation", "jquery.mobile.navigation.pushstate" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core", "./jquery.mobile.navigation", "./jquery.mobile.navigation.pushstate" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); ( function( $, window, undefined ) { var $html = $( "html" ), diff --git a/js/jquery.mobile.js b/js/jquery.mobile.js index 8a32934e..071db495 100644 --- a/js/jquery.mobile.js +++ b/js/jquery.mobile.js @@ -1,48 +1,49 @@ //>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude); define([ - 'jquery.ui.widget', - 'jquery.mobile.widget', - 'jquery.mobile.media', - 'jquery.mobile.support', - 'jquery.mobile.vmouse', - 'jquery.mobile.event', - 'jquery.mobile.hashchange', - 'jquery.mobile.page', - 'jquery.mobile.core', - 'order!jquery.mobile.navigation', - 'order!jquery.mobile.navigation.pushstate', - 'jquery.mobile.transition', - '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.degradeInputs', - 'jquery.mobile.dialog', - 'jquery.mobile.page.sections', - 'jquery.mobile.collapsible', - 'jquery.mobile.collapsibleSet', - 'jquery.mobile.fieldContain', - 'jquery.mobile.grid', - 'jquery.mobile.navbar', - 'jquery.mobile.listview', - 'jquery.mobile.listview.filter', - 'jquery.mobile.nojs', - 'jquery.mobile.forms.checkboxradio', - 'jquery.mobile.forms.button', - 'jquery.mobile.forms.slider', - 'jquery.mobile.forms.textinput', - 'jquery.mobile.forms.select.custom', - 'jquery.mobile.forms.select', - 'jquery.mobile.buttonMarkup', - 'jquery.mobile.controlGroup', - 'jquery.mobile.links', - 'jquery.mobile.fixedToolbar', - 'jquery.mobile.zoom', - 'jquery.mobile.zoom.iosorientationfix' -], function() { - require( [ 'jquery.mobile.init' ] ); + 'require', + './jquery.ui.widget', + './jquery.mobile.widget', + './jquery.mobile.media', + './jquery.mobile.support', + './jquery.mobile.vmouse', + './jquery.mobile.event', + './jquery.mobile.hashchange', + './jquery.mobile.page', + './jquery.mobile.core', + 'order!./jquery.mobile.navigation', + 'order!./jquery.mobile.navigation.pushstate', + './jquery.mobile.transition', + './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.degradeInputs', + './jquery.mobile.dialog', + './jquery.mobile.page.sections', + './jquery.mobile.collapsible', + './jquery.mobile.collapsibleSet', + './jquery.mobile.fieldContain', + './jquery.mobile.grid', + './jquery.mobile.navbar', + './jquery.mobile.listview', + './jquery.mobile.listview.filter', + './jquery.mobile.nojs', + './jquery.mobile.forms.checkboxradio', + './jquery.mobile.forms.button', + './jquery.mobile.forms.slider', + './jquery.mobile.forms.textinput', + './jquery.mobile.forms.select.custom', + './jquery.mobile.forms.select', + './jquery.mobile.buttonMarkup', + './jquery.mobile.controlGroup', + './jquery.mobile.links', + './jquery.mobile.fixedToolbar', + './jquery.mobile.zoom', + './jquery.mobile.zoom.iosorientationfix' +], function( require ) { + require( [ './jquery.mobile.init' ], function() {} ); }); //>>excludeEnd("jqmBuildExclude"); \ No newline at end of file diff --git a/js/jquery.mobile.listview.filter.js b/js/jquery.mobile.listview.filter.js index 0e2dec6d..82cd7c8e 100755 --- a/js/jquery.mobile.listview.filter.js +++ b/js/jquery.mobile.listview.filter.js @@ -2,7 +2,7 @@ //>>description: Adds a filtering textfield to listviews //>>label: Listview Filter -define( [ "jquery", "jquery.mobile.listview", "jquery.mobile.forms.textinput" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.listview", "./jquery.mobile.forms.textinput" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.listview.js b/js/jquery.mobile.listview.js index 4d06fc7f..7ff02527 100644 --- a/js/jquery.mobile.listview.js +++ b/js/jquery.mobile.listview.js @@ -2,7 +2,7 @@ //>>description: Adds a filtering textfield to listviews //>>label: Listview Filter -define( [ "jquery", "jquery.mobile.widget", "jquery.mobile.buttonMarkup", "jquery.mobile.page", "jquery.mobile.page.sections" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.buttonMarkup", "./jquery.mobile.page", "./jquery.mobile.page.sections" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.media.js b/js/jquery.mobile.media.js index 943608ba..b27a6cac 100644 --- a/js/jquery.mobile.media.js +++ b/js/jquery.mobile.media.js @@ -2,7 +2,7 @@ //>>description: A workaround for browsers without window.matchMedia //>>label: matchMedia Polyfill -define( [ "jquery", "jquery.mobile.core" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.navbar.js b/js/jquery.mobile.navbar.js index ff95a6eb..b3a9713c 100644 --- a/js/jquery.mobile.navbar.js +++ b/js/jquery.mobile.navbar.js @@ -2,7 +2,7 @@ //>>description: Formats groups of links as navigation bars. //>>label: Navigation Bars -define( [ "jquery", "jquery.mobile.widget", "jquery.mobile.buttonMarkup", "jquery.mobile.grid" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.buttonMarkup", "./jquery.mobile.grid" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index d6f04d4a..f9cea378 100755 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -4,11 +4,11 @@ define( [ "jquery", - "jquery.mobile.core", - "jquery.mobile.event", - "jquery.mobile.hashchange", - "jquery.mobile.page", - "jquery.mobile.transition" ], function( $ ) { + "./jquery.mobile.core", + "./jquery.mobile.event", + "./jquery.mobile.hashchange", + "./jquery.mobile.page", + "./jquery.mobile.transition" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); ( function( $, undefined ) { diff --git a/js/jquery.mobile.navigation.pushstate.js b/js/jquery.mobile.navigation.pushstate.js index 1374591e..317798e8 100644 --- a/js/jquery.mobile.navigation.pushstate.js +++ b/js/jquery.mobile.navigation.pushstate.js @@ -2,7 +2,7 @@ //>>description: history.pushState support, layered on top of hashchange. //>>label: Pushstate Support -define( [ "jquery", "jquery.mobile.navigation" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.navigation" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); ( function( $, window ) { // For now, let's Monkeypatch this onto the end of $.mobile._registerInternalEvents diff --git a/js/jquery.mobile.page.js b/js/jquery.mobile.page.js index 3d5c4d78..4f2a10b5 100644 --- a/js/jquery.mobile.page.js +++ b/js/jquery.mobile.page.js @@ -2,7 +2,7 @@ //>>description: Basic page formatting. //>>label: Pages -define( [ "jquery", "jquery.mobile.widget" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.widget" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.page.sections.js b/js/jquery.mobile.page.sections.js index e3611659..43c2cc47 100644 --- a/js/jquery.mobile.page.sections.js +++ b/js/jquery.mobile.page.sections.js @@ -2,7 +2,7 @@ //>>description: Theming and layout of headers, footers, and content areas //>>label: Page Sections -define( [ "jquery", "jquery.mobile.page", "jquery.mobile.core", "jquery.mobile.buttonMarkup" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.page", "./jquery.mobile.core", "./jquery.mobile.buttonMarkup" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.support.js b/js/jquery.mobile.support.js index 64ebaf63..5bba6a3d 100644 --- a/js/jquery.mobile.support.js +++ b/js/jquery.mobile.support.js @@ -4,9 +4,7 @@ //>>group: core //>>required: true -// For test purposes we can't use anonymous module here otherwise -// the tests will throw http://requirejs.org/docs/errors.html#mismatch -define( "jquery.mobile.support", [ "jquery", "jquery.mobile.media" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.media" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.transition.flip.js b/js/jquery.mobile.transition.flip.js index 85ca0294..e000ee20 100644 --- a/js/jquery.mobile.transition.flip.js +++ b/js/jquery.mobile.transition.flip.js @@ -6,7 +6,7 @@ //>>description: Fallback transition for flip in non-3D supporting browsers //>>label: Flip fallback transition -define( [ "jquery", "jquery.mobile.transition" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.transition.flow.js b/js/jquery.mobile.transition.flow.js index 9409e3a9..ec8ec8bd 100644 --- a/js/jquery.mobile.transition.flow.js +++ b/js/jquery.mobile.transition.flow.js @@ -6,7 +6,7 @@ //>>description: Fallback transition for flow in non-3D supporting browsers //>>label: Flow fallback transition -define( [ "jquery", "jquery.mobile.transition" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.transition.js b/js/jquery.mobile.transition.js index f4788c34..10322bbc 100644 --- a/js/jquery.mobile.transition.js +++ b/js/jquery.mobile.transition.js @@ -3,7 +3,7 @@ //>>description: Page change transition core //>>label: Transition Core -define( [ "jquery", "jquery.mobile.core" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.transition.pop.js b/js/jquery.mobile.transition.pop.js index 45ab2e95..24d35b7b 100644 --- a/js/jquery.mobile.transition.pop.js +++ b/js/jquery.mobile.transition.pop.js @@ -6,7 +6,7 @@ //>>description: Fallback transition for pop in non-3D supporting browsers //>>label: Pop fallback transition -define( [ "jquery", "jquery.mobile.transition" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.transition.slide.js b/js/jquery.mobile.transition.slide.js index 3c63c9d7..409f2c7f 100644 --- a/js/jquery.mobile.transition.slide.js +++ b/js/jquery.mobile.transition.slide.js @@ -6,7 +6,7 @@ //>>description: Fallback transition for slide in non-3D supporting browsers //>>label: Slide fallback transition -define( [ "jquery", "jquery.mobile.transition" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.transition.slidedown.js b/js/jquery.mobile.transition.slidedown.js index cb814589..b6f9d247 100644 --- a/js/jquery.mobile.transition.slidedown.js +++ b/js/jquery.mobile.transition.slidedown.js @@ -6,7 +6,7 @@ //>>description: Fallback transition for slidedown in non-3D supporting browsers //>>label: Slidedown fallback transition -define( [ "jquery", "jquery.mobile.transition" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.transition.slideup.js b/js/jquery.mobile.transition.slideup.js index 5546b166..9d138568 100644 --- a/js/jquery.mobile.transition.slideup.js +++ b/js/jquery.mobile.transition.slideup.js @@ -6,7 +6,7 @@ //>>description: Fallback transition for slideup in non-3D supporting browsers //>>label: Slideup fallback transition -define( [ "jquery", "jquery.mobile.transition" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.transition.turn.js b/js/jquery.mobile.transition.turn.js index 2dfd130e..fff726f5 100644 --- a/js/jquery.mobile.transition.turn.js +++ b/js/jquery.mobile.transition.turn.js @@ -7,7 +7,7 @@ //>>label: Page turn fallback transition -define( [ "jquery", "jquery.mobile.transition" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.transition" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, window, undefined ) { diff --git a/js/jquery.mobile.widget.js b/js/jquery.mobile.widget.js index bb3dfd23..cea8c9a4 100644 --- a/js/jquery.mobile.widget.js +++ b/js/jquery.mobile.widget.js @@ -2,7 +2,7 @@ //>>description: Widget factory extentions for mobile. //>>label: Widget Factory Extensions -define( [ "jquery", "jquery.ui.widget" ], function( $ ) { +define( [ "jquery", "./jquery.ui.widget" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); (function( $, undefined ) { diff --git a/js/jquery.mobile.zoom.iosorientationfix.js b/js/jquery.mobile.zoom.iosorientationfix.js index 69c47881..ad04ee6a 100644 --- a/js/jquery.mobile.zoom.iosorientationfix.js +++ b/js/jquery.mobile.zoom.iosorientationfix.js @@ -2,7 +2,7 @@ //>>description: Fixes the iOS orientation change bug using a jQM version of this technique https://github.com/scottjehl/iOS-Orientationchange-Fix //>>label: iOS orientation change bugfix -define( [ "jquery", "jquery.mobile.core", "jquery.mobile.zoom" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core", "./jquery.mobile.zoom" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); ( function( $, window ) { var zoom = $.mobile.zoom, diff --git a/js/jquery.mobile.zoom.js b/js/jquery.mobile.zoom.js index f1b9e0b1..b85ff60c 100644 --- a/js/jquery.mobile.zoom.js +++ b/js/jquery.mobile.zoom.js @@ -2,7 +2,7 @@ //>>description: Utility methods for enabling and disabling user scaling (pinch zoom) //>>label: zoomhandling -define( [ "jquery", "jquery.mobile.core" ], function( $ ) { +define( [ "jquery", "./jquery.mobile.core" ], function( $ ) { //>>excludeEnd("jqmBuildExclude"); ( function( $ ) { var meta = $( "meta[name=viewport]" ), diff --git a/tests/unit/support/index.html b/tests/unit/support/index.html index 64e8e5cd..dac7fb2f 100644 --- a/tests/unit/support/index.html +++ b/tests/unit/support/index.html @@ -25,8 +25,6 @@ - -