Commit 29cb8f9b authored by Eirik Alvær's avatar Eirik Alvær

Using head.js to optimize perfermance of script loading.

parent d3465cbc
...@@ -24,18 +24,24 @@ ...@@ -24,18 +24,24 @@
</div> </div>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/headjs/0.99/head.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/json2/20121008/json2.js"></script> <script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> head.js(
<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js"></script> // External libraries
<script src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js"></script> "http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js",
<script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> "http://cdnjs.cloudflare.com/ajax/libs/json2/20121008/json2.js",
"http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js",
<script src="js/common.js"></script> "http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js",
<script src="js/model.js"></script> "http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js",
<script src="js/templates-loader.js"></script> "http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/js/bootstrap.min.js",
<script src="js/metadata-maker.js"></script> // Our own scripts
<script src="js/controller.js"></script> "js/common.js",
"js/model.js",
"js/templates-loader.js",
"js/metadata-maker.js",
"js/controller.js"
);
</script>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment