From 8dfbdf3a9913dbeb918db9b8f1e8e2bbbd22807d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=87=AF=E6=8D=B7?= Date: Thu, 9 Jan 2014 22:39:46 +0800 Subject: [PATCH] templates folder --- lib/emblem-brunch.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/emblem-brunch.coffee b/lib/emblem-brunch.coffee index 01736dd..086341c 100644 --- a/lib/emblem-brunch.coffee +++ b/lib/emblem-brunch.coffee @@ -42,7 +42,7 @@ module.exports = class EmblemCompiler path = path .replace(new RegExp('\\\\', 'g'), '/') .replace(/^app\//, '') - .replace(/^templates\//, '') + .replace(/templates\//, '') .replace(/\.\w+$/, '') content = @window.Emblem.precompile @window.Ember.Handlebars, data result = "Ember.TEMPLATES[#{JSON.stringify(path)}] = Ember.Handlebars.template(#{content});module.exports = module.id;"