Closed Nuanda closed 8 years ago
We currently including bootstrap-sprocket
which is simply list of further includes (see https://github.com/twbs/bootstrap-sass/blob/master/assets/javascripts/bootstrap-sprockets.js). To minimize compiled boostrap JS concrete part of the bootstrap JS can be included (only these one which are used) instead of bootstrap-sprocket
. Right now most probably: bootstrap/button
and bootstrap/tooltip
The bootstrap-sass gem is (probably) compiling all BS js code into our app.js. This is rather an overkill - shaving that a bit might save our mobile first-time users some time.
Find an elegant way to do that.