handlebar templates are now .hbs instead of .html

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

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

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

Loading…
Cancel
Save