Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lddubeau/bootstrap-amd-with-two-jquery-versions
Demo showing how to load two different jQuery version and use a Boostrap that has been turned into an AMD module.
https://github.com/lddubeau/bootstrap-amd-with-two-jquery-versions
Last synced: 1 day ago
JSON representation
Demo showing how to load two different jQuery version and use a Boostrap that has been turned into an AMD module.
- Host: GitHub
- URL: https://github.com/lddubeau/bootstrap-amd-with-two-jquery-versions
- Owner: lddubeau
- Created: 2014-01-25T19:51:50.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-25T19:52:24.000Z (almost 11 years ago)
- Last Synced: 2024-04-14T20:27:18.460Z (9 months ago)
- Language: JavaScript
- Size: 422 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repo demonstrates how to load two different versions of jQuery, and use one of them for Bootstrap.
* Version 1.8.3 installs itself as the globals ``$`` and ``jQuery``.
* Version 1.10.2 is installed as an AMD module. It is reachable *only* through using RequireJS.
The bootstrap-amd tool was used to generate an version of Boostrap which is an AMD module. Here's the recipe I used:
$ git clone https://github.com/twbs/bootstrap.git
$ npm install bootstrap-amd
$ mkdir bootstrap/amd # Work around bug in bootstrap-amd.
$ node_modules/.bin/bootstrap-amd bootstrapThis repository contains only the **finished** product without all the intermediary tools necessary to create it.