Upgrade Drupal 7 core jQuery libraries into its latest version for Bootstrap is a must. The goal of TWBS jQuery is to provide a handy support for jQuery upgrade and act as the helper module for on going Drupal-Bootstrap-Remix development. All replacement will be handled automatically. No additional configuration is required.
Below information is quoted from Edison's blog post.
Key Features
- Provide drush make file for library download
- Confirm library successfully initialized with hook_requirements()
- Upgrade jQuery related libraries as below version:
- jQuery: 1.10.2
- jQuery UI: 1.10.3
- jQuery Cookie: 1.4.0
- jQuery Form: 3.46.0
- jQuery Once: 1.2.6
- jQuery BBQ: 1.3pre
- Additional patch for jQuery >= 1.9
NOTE: We don't officially support overlay.module as deprecated in favour of using together with TWBS.
Getting Started
Download and install with drush manually:
drush -y dl --dev twbs_jquery
drush -y make --no-core sites/all/modules/twbs_jquery/twbs_jquery.make
Package into your own drush .make file (e.g. drustack_core.make):
api = 2
core = 7.x
projects[twbs_jquery][download][branch] = 7.x-3.x
projects[twbs_jquery][download][type] = git
projects[twbs_jquery][download][url] = http://git.drupal.org/project/twbs_jquery.git
projects[twbs_jquery][subdir] = contrib
Live Demo
TWBS jQuery is now integrated into DruStack distribution, so you can try it in a live sandbox with simplytest.me.
Why Another jQuery Module?
For general and generic jQuery update functionality, you should always consider another jQuery Update module which started since 2007年04月26日.
On the other hand you should consider about using this module because of:
- Purely design for assist TWBS, which means you will have the best compatibility when using both together
- Fetch libraries directly from original repository and handle initialization with Libraries API; jQuery Update bundle all libraries into it's own code repository and initialize manually
- Only support latest official version of libraries which result as no additional configuration required; jQuery Update support multiple version of jQuery
- Much simple implementation which handle all upgrade and replacement automatically; jQuery Update provide more customization options
Author
- Developed by Edison Wong.
- Sponsored by PantaRei Design.
Please feel free to test it out and comment with your idea. Let's enjoy simplified jQuery update experience ;-)