Permalink
Browse files

Rename templates to compiled_templates.

  • Loading branch information...
1 parent 7162e23 commit 05128c8d22f55aa2d6e6ba92d98d248075b7037c @lucassus committed Jan 6, 2013
View
@@ -13,4 +13,4 @@ Gemfile.lock
*.gem
# ignore compiled templates
-app/assets/javascripts/templates
+app/assets/javascripts/compiled_templates
@@ -0,0 +1 @@
+#= require_tree ./compiled_templates
@@ -1 +0,0 @@
-#= require_tree ./templates
View
@@ -26,7 +26,7 @@ module.exports = function(grunt) {
var parts = file.split("/").slice(3);
var name = parts.join("/");
- grunt.file.write("app/assets/javascripts/templates/" + name + ".js", grunt.template.process(TPL, {
+ grunt.file.write("app/assets/javascripts/compiled_templates/" + name + ".js", grunt.template.process(TPL, {
file: file,
path: "/ng/templates/" + file.split("/").pop(),
content: escapeContent(grunt.file.read(file))
@@ -25,7 +25,7 @@ files = [
"spec/javascripts/**/*_spec.js.coffee",
// Templates
- "app/assets/javascripts/templates/*.html.js"
+ "app/assets/javascripts/compiled_templates/*.html.js"
];
preprocessors = {
@@ -15,7 +15,7 @@
<script type="text/javascript" src="/assets/app.js"></script>
<!-- Load specs -->
- <script type="text/javascript" src="/assets/templates.js"></script>
+ <script type="text/javascript" src="/assets/compiled_templates.js"></script>
<script type="text/javascript" src="/_specs/spec.js"></script>
<script type="text/javascript">

0 comments on commit 05128c8

Please sign in to comment.