Hi all, 

Just wondering what you all think about including bootstrap's js in a more 
modular fashion 
(i.e. as it appears when downloaded directly from github, each component's js 
is in its own file). 


Before 5.4 we were using these modular files to be able to pick and choose 
which bits of the bootstrap 
js we pull down. One example is Bootstrap's Dropdown for which we have a mixin 
that goes; 
@Import(module = Bootstrap.DROPDOWN) 


Where Bootstrap.java contains a bunch of constants pointing to the various js 
files. (i.e.: "bootstrap/js/dropdown.js"). 


We're running into issues where bootstrap.js is included by various core 
components and scripts are executing twice! 
If there's no hope for this to be included or overridden (somehow) then we'll 
just opt for using the full bootstrap.js I guess. 


Thanks again! 
Peter 

Reply via email to