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
// Create shim for requested bootstrap component and require | |
// and return jQuery so you do not have to inject it separately | |
// every time you use a bootstrap component. | |
define({ | |
load: function (name, req, onload, config) { | |
// Set this path to wherever the bootstrap components live. | |
// Contents should match https://github.com/twbs/bootstrap/tree/master/js | |
var component = 'path/to/bootstrap/js/'+name; | |
var shim = {}; |