mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-18 16:24:09 +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'
|
+ 'Handlebars.templates["<%= relative %>"] = <%= handlebars %>;\n'
|
||||||
+ '})()',
|
+ '})()',
|
||||||
context: function(context) {
|
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