handlebar templates are now .hbs instead of .html

pull/106/head
kayone 10 years ago
parent 322ff2af8c
commit 5cfe2c0186

@ -53,18 +53,18 @@ module.exports = function (grunt) {
handlebars: {
options: {
namespace : 'T',
partialRegex: /Partial.html/,
partialRegex: /Partial.hbs/,
wrapped : true,
amd : true,
processName: function (fileName) {
return fileName
.replace(srcRoot, '')
.replace('.html', '')
.replace('.hbs', '')
.toLowerCase();
}
},
files : {
src : [ srcRoot + '**/*Template.html', srcRoot + '**/*Partial.html'],
src : [ srcRoot + '**/*Template.hbs', srcRoot + '**/*Partial.hbs'],
dest: outputDir + 'templates.js'
}
},

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save