javascript - bootstrap gets included twice -
I have a backbone application built with AMD modules loaded with readers. In some modules, I have the functionality of bootstrap Need to be used and therefore I define the same in the dependency array in the module.
When I have two modules that are loaded asynchronous within AOIM and both are defined as bootstrap dependencies, bootstrap functionality breaks (like button loading etc.) Because the bootstrap is now loaded twice?
How is this condition controlled?
There is a configuration in the expected JS that defines non-AMD modules, it is done Shim
Take a look at this
Comments
Post a Comment