mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-13 06:34:08 +03:00
Make the project buildable on windows
This commit is contained in:
parent
ea0b6a0cd5
commit
ef98d5056a
@ -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, '/')};
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user