mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
Added dependency on jquery
This commit is contained in:
parent
ba1d5549d7
commit
e64c02de8e
39 changed files with 41 additions and 39 deletions
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: For making button-like links.
|
||||
//>>label: Buttons
|
||||
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.vmouse" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.core", "jquery.mobile.vmouse" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
( function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Creates collapsible content areas.
|
||||
//>>label: Collapsibles
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: For creating grouped collapsible content areas.
|
||||
//>>label: Collapsible Sets
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.collapsible" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.widget", "jquery.mobile.collapsible" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Corner-rounding for groups of buttons, checks, radios, etc
|
||||
//>>label: Controlgroups
|
||||
|
||||
define( [ "jquery.mobile.buttonMarkup" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.buttonMarkup" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: The base file for jQM
|
||||
//>>label: Core
|
||||
|
||||
define( [ "jquery.mobile.widget" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.widget" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Degrades inputs to another type after custom enhancements are made.
|
||||
//>>label: Degrade Inputs
|
||||
|
||||
define( [ "jquery.mobile.page" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.page" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Degrades inputs to another type after custom enhancements are made.
|
||||
//>>label: Dialog-style Pages
|
||||
|
||||
define( [ "jquery.mobile.widget" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.widget" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Custom events and shortcuts.
|
||||
//>>label: Events
|
||||
define( [ "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 ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Simple class additions to make form row separators
|
||||
//>>label: Fieldcontains
|
||||
|
||||
define(function() {
|
||||
define( [ "jquery" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Form Buttons
|
||||
//>>label: links that proxy to native input/buttons
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
//>>description: Consistent styling for checkboxes/radio buttons.
|
||||
//>>label: Checkboxes/Radio Buttons
|
||||
|
||||
define( [ "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 ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
//>>label: Custom Selects
|
||||
|
||||
define( [
|
||||
"jquery",
|
||||
"jquery.mobile.buttonMarkup",
|
||||
"jquery.mobile.core",
|
||||
"jquery.mobile.dialog",
|
||||
|
|
@ -14,7 +15,7 @@ define( [
|
|||
"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 ){
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Consistent styling for native select menus.
|
||||
//>>label: Enhanced Native Selects
|
||||
|
||||
define( [ "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 ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Slider form widget
|
||||
//>>label: Slider
|
||||
|
||||
define( [ "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 ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Enhances and consistently styles text inputs.
|
||||
//>>label: Text Inputs
|
||||
|
||||
define( [ "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 ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Applies classes for grid styling.
|
||||
//>>label: CSS Grid Tool
|
||||
|
||||
define(function() {
|
||||
define( [ "jquery" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Applies classes for grid styling.
|
||||
//>>label: CSS Grid Tool
|
||||
|
||||
define( [ "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" ),
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Simple class additions for links.
|
||||
//>>label: Link Classes
|
||||
|
||||
define( function() {
|
||||
define( [ "jquery" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Adds a filtering textfield to listviews
|
||||
//>>label: Listview Filter
|
||||
|
||||
define( [ "jquery.mobile.listview", "jquery.mobile.forms.textinput" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.listview", "jquery.mobile.forms.textinput" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Adds a filtering textfield to listviews
|
||||
//>>label: Listview Filter
|
||||
|
||||
define( [ "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 ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: A workaround for browsers without window.matchMedia
|
||||
//>>label: matchMedia Polyfill
|
||||
|
||||
define( [ "jquery.mobile.core" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.core" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Formats groups of links as navigation bars.
|
||||
//>>label: Navigation Bars
|
||||
|
||||
define( [ "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 ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,11 @@
|
|||
//>>label: Navigation Bars
|
||||
|
||||
define( [
|
||||
"jquery",
|
||||
"jquery.mobile.core",
|
||||
"jquery.mobile.event",
|
||||
"jquery.mobile.hashchange",
|
||||
"jquery.mobile.page" ], function() {
|
||||
"jquery.mobile.page" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
( function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: history.pushState support, layered on top of hashchange.
|
||||
//>>label: Pushstate Support
|
||||
|
||||
define( [ "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
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Adds class to make elements hidden to A grade browsers
|
||||
//>>label: “nojs” Classes
|
||||
|
||||
define(function() {
|
||||
define( [ "jquery" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Basic page formatting.
|
||||
//>>label: Pages
|
||||
|
||||
define( [ "jquery.mobile.widget" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.widget" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Theming and layout of headers, footers, and content areas
|
||||
//>>label: Page Sections
|
||||
|
||||
define( [ "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 ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// 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.mobile.media" ], function() {
|
||||
define( "jquery.mobile.support", [ "jquery", "jquery.mobile.media" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.transition" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.transition" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.transition" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.transition" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.core" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.core" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.transition" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.transition" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.transition" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.transition" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.transition" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.transition" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.transition" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.transition" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.transition" ], function() {
|
||||
define( [ "jquery", "jquery.mobile.transition" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
//>>description: Normalizes touch/mouse events.
|
||||
//>>label: Virtual Mouse Bindings
|
||||
|
||||
define(function() {
|
||||
define( [ "jquery" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, document, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
//>>description: Widget factory extentions for mobile.
|
||||
//>>label: Widget Factory Extensions
|
||||
|
||||
define( [ "jquery.ui.widget" ], function() {
|
||||
define( [ "jquery", "jquery.ui.widget" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
2
js/jquery.ui.widget.js
vendored
2
js/jquery.ui.widget.js
vendored
|
|
@ -12,7 +12,7 @@
|
|||
//>>description: jQuery UI Widget Factory.
|
||||
//>>label: Widget Factory
|
||||
|
||||
define(function() {
|
||||
define( [ "jquery" ], function( $ ) {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue