Permalink
Browse files

Fix #10 handlebars not loading through AMD

  • Loading branch information...
1 parent d18e7c3 commit 4a8e0fe9ce6833344210e7da5e8b7fd28f130420 @phawk committed Sep 29, 2013
View
4 ...build.9905daf9b586b727f6b4cebbd12a2360.js → ...build.ae1cfc3592a799cefb76857777bebd3e.js
2 additions, 2 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 assets/javascripts/build.js.map
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
10 bower.json
@@ -2,11 +2,11 @@
"name": "application-name",
"dependencies": {
"jquery": "~2.0.3",
- "requirejs": "~2.1.2",
- "mocha": "~1.8.1",
- "handlebars": "~1.0.0-rc.1",
- "chai": "~1.4.2",
- "almond": "~0.2.4",
+ "requirejs": "~2.1.8",
+ "mocha": "~1.13.0",
+ "handlebars": "phawk/handlebars-amd",
+ "chai": "~1.8.0",
+ "almond": "~0.2.6",
"backbone-amd": "~1.0.0",
"underscore-amd": "~1.4.4",
"bootstrap": "latest"
View
2 index.html
@@ -34,6 +34,6 @@
<!-- #content is where all content is loaded into from backbone views etc -->
<!-- Load compiled JS -->
- <script src="assets/javascripts/build.9905daf9b586b727f6b4cebbd12a2360.js"></script>
+ <script src="assets/javascripts/build.ae1cfc3592a799cefb76857777bebd3e.js"></script>
</body>
</html>
View
2 package.json
@@ -8,7 +8,7 @@
"devDependencies": {
"grunt": "0.4.1",
"grunt-contrib-jshint": "0.1.1rc6",
- "grunt-contrib-handlebars": "0.5.2rc7",
+ "grunt-contrib-handlebars": "0.5.4",
"grunt-contrib-requirejs": "0.4.0rc7",
"grunt-contrib-watch": "0.2.0rc7",
"grunt-mocha": "~0.2.1",
View
3 require.config.js
@@ -15,9 +15,6 @@ require.config({
"bootstrap": "../components/bootstrap/dist/js/bootstrap"
},
shim: {
- 'handlebars': {
- exports: 'Handlebars'
- },
'bootstrap': {
deps: ['jquery']
}

0 comments on commit 4a8e0fe

Please sign in to comment.