Source code
Note: jQuery Mobile is not maintained anymore. Please read the project status blog post for more information. jQuery Mobile is a unified, HTML5-based user interface system for all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. Its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design. jQuery Mobile 1.4.x works with versions of jQuery core from 1.8.3 to 1.11.1 / 2.1.1. You can find more information about how the library works, and what it is capable of, by reading the documentation and exploring the demos. Alternatively, more information can also be found on the jquerymobile site. You can contribute to the project by reporting issues, suggesting new features, or submitting pull requests. Please read our Contributing Guidelines before submitting. Currently the library is shipped on the jQuery CDN/download as a single monolithic JavaScript file that depends on jQuery Core (not included) and a similarly bundled CSS file. For users we support the following build targets: The easiest way to obtain a custom build is to use the download builder. With it, you can select the parts of the library you need and both the CSS and JavaScript dependencies will be resolved for you as a packaged/minified whole. 1. Copy the default folder from CSS/Themes to a new folder named after your new theme (eg, my-theme ). 2. Add customizations to the jquery.mobile.theme.css file. 3. From the project root run the following grunt command: Again this assumes the theme css files are available in the css/themes/$THEME/ directory relative to the project root, css/themes/my-theme/ in the example. The root of the repository is also the root of the documentation and, along with the test suite, acts as the test bed for bug fixes and features. You'll need to set up a server and get the test suite running before you can contribute patches. Most of the documentation and testing pages rely on PHP 5+, and as a result Apache and PHP are required for development. You can install them using one of the following methods: one-click - MAMP for OSX, XAMP for OSX/Windows existing web server - eg, ~/Sites directory on OSX. virtual machine - If Vagrant is installed you can add this remote/branch and vagrant up Once you have your web server setup you can point it at the project directory. Automated testing forms the backbone of the jQuery Mobile project's QA activities. As a contributor or patch submitter you will be expected to run the test suite for the code your patches affect. Our continuous integration server will address the remainder of the test suite. Additionally, jQuery Mobile's test suite is split between integration and unit tests. Where the unit tests are meant to focus on a single piece of the library (eg, a widget) and the integration tests require multiple pieces of the library to function. You can target either type by including the --types option when testing:
Excerpt from the source-code README · 6,710 chars · not written by Vinony
Wikidata facts
- Official website
- jquerymobile.com
Show 3 more facts
- Stack Exchange tag
- stackoverflow.com/tags/jquery-mobile
- source code repository URL
- github.com/jquery-archive/jquery-mobile
- software version identifier
- 1.4.5
via Wikidata · CC0