Created
August 23, 2016 22:29
-
-
Save pjschreifels/7a049dbdddca85dd77f3141bf9ad692d to your computer and use it in GitHub Desktop.
Bootstrapv4-alpha.3 — Tether and RequireJS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"dependencies": [ | |
... | |
"jquery", | |
{ | |
"name": "tether", | |
"path": "../node_modules/tether/dist", | |
"main": "js/tether", | |
"resources": [ | |
"css/tether.css" | |
] | |
}, | |
{ | |
"name": "tether-amd-wrapper", | |
"path": "../scripts/tether-amd-wrapper" | |
}, | |
{ | |
"name": "bootstrap", | |
"path": "../node_modules/bootstrap/dist", | |
"main": "js/bootstrap", | |
"deps": [ | |
"jquery", | |
"tether", | |
"tether-amd-wrapper" | |
], | |
"resources": [ | |
"css/bootstrap.css" | |
] | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.Tether = {}; | |
require(['./tether'], function(Tether) { | |
window.Tether = Tether; | |
return Tether; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment