MLstate / opalang

The Opa Language for Web Application Development
http://opalang.org
Other
1.24k stars 125 forks source link

Bootstrap 3.2.0: register js needed for some components #166

Open mbouaziz opened 9 years ago

mbouaziz commented 9 years ago

Some components can be used without javascript function calls, only by setting some html attributes or classes, allowing to use them without writing specific BSL bindings. E.g. data-toggle="dropdown"

Since there is no responsive css for bootstrap 3.2.0, use import stdlib.themes.bootstrap.responsive to register this js file instead of the responsive css. Otherwise, how can the bootstrap js be registered? This should probably be renamed to a proper name, I was a bit lazy on it.