mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-26 02:40:22 +00:00
Added download builder metadata.
This commit is contained in:
parent
6b0d9dd2d0
commit
42536ecafe
32 changed files with 111 additions and 112 deletions
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "buttons" plugin - for making button-like links
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: For making button-like links.
|
||||
//>>label: Buttons
|
||||
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.vmouse" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
( function( $, undefined ) {
|
||||
|
|
@ -209,4 +208,4 @@ $( document ).bind( "pagecreate create", function( e ){
|
|||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
});
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
/*
|
||||
* "collapsible" plugin
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Creates collapsible content areas.
|
||||
//>>label: Collapsibles
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "collapsibleset" plugin
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: For creating grouped collapsible content areas.
|
||||
//>>label: Collapsible Sets
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.collapsible" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "controlgroup" plugin - corner-rounding for groups of buttons, checks, radios, etc
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Corner-rounding for groups of buttons, checks, radios, etc
|
||||
//>>label: Controlgroups
|
||||
|
||||
define( [ "jquery.mobile.buttonMarkup" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "core" - The base file for jQm
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: The base file for jQM
|
||||
//>>label: Core
|
||||
|
||||
define( [ "jquery.mobile.widget" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
|
@ -158,11 +157,24 @@ define( [ "jquery.mobile.widget" ], function() {
|
|||
}
|
||||
e = e.parentNode;
|
||||
}
|
||||
|
||||
|
||||
// Return the theme letter we found, if none, return the
|
||||
// specified default.
|
||||
|
||||
return ltr || defaultTheme || "a";
|
||||
},
|
||||
|
||||
// TODO the following $ and $.fn extensions can/probably should be moved into jquery.mobile.core.helpers
|
||||
//
|
||||
// Find the closest javascript page element to gather settings data jsperf test
|
||||
// http://jsperf.com/single-complex-selector-vs-many-complex-selectors/edit
|
||||
// possibly naive, but it shows that the parsing overhead for *just* the page selector vs
|
||||
// the page and dialog selector is negligable. This could probably be speed up by
|
||||
// doing a similar parent node traversal to the one found in the inherited theme code above
|
||||
closestPageData: function( $target ) {
|
||||
return $target
|
||||
.closest(':jqmData(role="page"), :jqmData(role="dialog")')
|
||||
.data("page");
|
||||
}
|
||||
}, $.mobile );
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "degradeInputs" plugin - degrades inputs to another type after custom enhancements are made.
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Degrades inputs to another type after custom enhancements are made.
|
||||
//>>label: Degrade Inputs
|
||||
|
||||
define( [ "jquery.mobile.page" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "dialog" plugin.
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Degrades inputs to another type after custom enhancements are made.
|
||||
//>>label: Dialog-style Pages
|
||||
|
||||
define( [ "jquery.mobile.widget" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
/*
|
||||
* "events" plugin - Handles events
|
||||
*/
|
||||
|
||||
//>>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() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "fieldcontain" plugin - simple class additions to make form row separators
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Simple class additions to make form row separators
|
||||
//>>label: Fieldcontains
|
||||
|
||||
define(function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "button" plugin - links that proxy to native input/buttons
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Form Buttons
|
||||
//>>label: links that proxy to native input/buttons
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Consistent styling for checkboxes/radio buttons.
|
||||
//>>label: Checkboxes/Radio Buttons
|
||||
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Fully-custom select menus.
|
||||
//>>label: Custom Selects
|
||||
|
||||
define( [
|
||||
"jquery.mobile.buttonMarkup",
|
||||
"jquery.mobile.core",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "selectmenu" plugin
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Consistent styling for native select menus.
|
||||
//>>label: Enhanced Native Selects
|
||||
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* "slider" plugin
|
||||
*/
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Slider form widget
|
||||
//>>label: Slider
|
||||
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.forms.textinput", "jquery.mobile.buttonMarkup" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
( function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
/*
|
||||
* "textinput" plugin for text inputs, textareas
|
||||
*/
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.degradeInputs", "jquery.mobile.buttonMarkup" ], function() {
|
||||
//>>description: Enhances and consistently styles text inputs.
|
||||
//>>label: Text Inputs
|
||||
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobi
|
||||
le.degradeInputs", "jquery.mobile.buttonMarkup" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* plugin for creating CSS grids
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Applies classes for grid styling.
|
||||
//>>label: CSS Grid Tool
|
||||
|
||||
define(function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "init" - Initialize the framework
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Applies classes for grid styling.
|
||||
//>>label: CSS Grid Tool
|
||||
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.navigation", "jquery.mobile.navigation.pushstate" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
( function( $, window, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "links" plugin - simple class additions for links
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Simple class additions for links.
|
||||
//>>label: Link Classes
|
||||
|
||||
define( function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "listview" filter extension
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Adds a filtering textfield to listviews
|
||||
//>>label: Listview Filter
|
||||
|
||||
define( [ "jquery.mobile.listview", "jquery.mobile.forms.textinput" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "listview" plugin
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>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() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* a workaround for window.matchMedia
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: A workaround for browsers without window.matchMedia
|
||||
//>>label: matchMedia Polyfill
|
||||
|
||||
define( [ "jquery.mobile.core" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "navbar" plugin
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Formats groups of links as navigation bars.
|
||||
//>>label: Navigation Bars
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup", "jquery.mobile.grid" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* core utilities for auto ajax navigation, base tag mgmt,
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Formats groups of links as nav bars.
|
||||
//>>label: Navigation Bars
|
||||
|
||||
define( [
|
||||
"jquery.mobile.core",
|
||||
"jquery.mobile.event",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* history.pushState support, layered on top of hashchange
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: history.pushState support, layered on top of hashchange.
|
||||
//>>label: Pushstate Support
|
||||
|
||||
define( [ "jquery.mobile.navigation" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
( function( $, window ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "nojs" plugin - class to make elements hidden to A grade browsers
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Adds class to make elements hidden to A grade browsers
|
||||
//>>label: “nojs” Classes
|
||||
|
||||
define(function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* "page" plugin
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Basic page formatting.
|
||||
//>>label: Pages
|
||||
|
||||
define( [ "jquery.mobile.widget" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* This plugin handles theming and layout of headers, footers, and content areas
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Theming and layout of headers, footers, and content areas
|
||||
//>>label: Page Sections
|
||||
|
||||
define( [ "jquery.mobile.page", "jquery.mobile.core", "jquery.mobile.buttonMarkup" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* support tests
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Assorted support tests.
|
||||
//>>label: Support Tests
|
||||
|
||||
// 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() {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Page change tranistions.
|
||||
//>>label: Page Transitions
|
||||
|
||||
// TODO the dependency defined here for transitions is to make sure
|
||||
// that the defaultTransitionHandler is defined _after_ navigation has been defined
|
||||
// This requires a rework/rethinking
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
/*
|
||||
* "mouse" plugin
|
||||
*/
|
||||
|
||||
// This plugin is an experiment for abstracting away the touch and mouse
|
||||
// events so that developers don't have to worry about which method of input
|
||||
|
|
@ -18,6 +15,9 @@
|
|||
// "vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel"
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Normalizes touch/mouse events.
|
||||
//>>label: Virtual Mouse Bindings
|
||||
|
||||
define(function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, document, undefined ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
/*
|
||||
* widget factory extentions for mobile
|
||||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: Widget factory extentions for mobile.
|
||||
//>>label: Widget Factory Extensions
|
||||
|
||||
define( [ "jquery.ui.widget" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
3
js/jquery.ui.widget.js
vendored
3
js/jquery.ui.widget.js
vendored
|
|
@ -9,6 +9,9 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
//>>description: jQuery UI Widget Factory.
|
||||
//>>label: Widget Factory
|
||||
|
||||
define(function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, undefined ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue