From ef98d5056a1f29e54b048887e208710d13f3942c Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Fri, 23 Jan 2015 11:34:24 +0000 Subject: [PATCH] Make the project buildable on windows --- src/gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gulpfile.js b/src/gulpfile.js index b2b4b5cf..2c85c5fb 100644 --- a/src/gulpfile.js +++ b/src/gulpfile.js @@ -329,7 +329,7 @@ var wrapHandlebarsTemplate = function() { + 'Handlebars.templates["<%= relative %>"] = <%= handlebars %>;\n' + '})()', context: function(context) { - return {relative: context.file.relative.replace(/\.js$/, '')}; + return {relative: context.file.relative.replace(/\.js$/, '').replace(/\\/g, '/')}; } }); }