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

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -