Firebrick JS - Document Ready
starting an application with Firebrick JS
by smasala
HTML
<script src="http://knockoutjs.com/downloads/knockout-3.2.0.js"></script>
<script src="https://cdn.rawgit.com/smasala/firebrick/0e0b8ba6/dist/firebrick.js"></script>
JavaScript
Firebrick.application({
app:{
name:"MyApp", //namespace for the path below
path:"js/" //folder where all my mvc stuff are
},
autoRender:false, //stops Firebrick from loading the first view under {MyApp}/views/Index.html
ready: function(){
console.info("ready to rumble")
}
});