Reorg templates.

This commit is contained in:
John-David Dalton
2016-02-11 23:01:38 -08:00
parent b1ed66c6f5
commit a3676618af
9 changed files with 2 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ var _ = require('lodash'),
var mapping = require('../../fp/_mapping');
var templatePath = path.join(__dirname, 'template');
var templatePath = path.join(__dirname, 'template/modules');
var template = _.transform(glob.sync(path.join(templatePath, '*.jst')), function(result, filePath) {
result[path.basename(filePath, '.jst')] = _.template(fs.readFileSync(filePath));

View File

@@ -0,0 +1 @@