From 9271d8e5d1f8cbf157b61a85bf4ac0fd5bca19e6 Mon Sep 17 00:00:00 2001 From: Chadwick Dahlquist Date: Tue, 8 Apr 2014 22:38:03 -0700 Subject: [PATCH] Support for raw templates with template.raw.emblem file names --- 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 6221864..435d147 100644 --- a/lib/emblem-brunch.coffee +++ b/lib/emblem-brunch.coffee @@ -44,7 +44,7 @@ module.exports = class EmblemCompiler .replace(/^app\//, '') .replace(/^templates\//, '') .replace(/\/templates\//, '/') - .replace(/\.\w+$/, '') + .replace(/\.[\.\w]+$/, '') content = @window.Emblem.precompile @window.Ember.Handlebars, data result = "Ember.TEMPLATES[#{JSON.stringify(path)}] = Ember.Handlebars.template(#{content});module.exports = module.id;" else