grunt-emberify
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "grunt-emberify", | ||
"description": "Precompile handlebars templates and concatenate all Ember files.", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"homepage": "https://github.com/gyllstromk/grunt-emberify", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -11,2 +11,3 @@ /* | ||
var Handlebars = require('handlebars'); | ||
var fs = require('fs'), | ||
@@ -26,4 +27,4 @@ util = require('util'), | ||
templates[templateName] = | ||
Handlebars.precompile(fs.readFileSync(each).toString()); | ||
templates[templateName] = | ||
Handlebars.precompile(fs.readFileSync(each).toString()).toString(); | ||
}); | ||
@@ -34,3 +35,4 @@ | ||
return util.format('Ember.TEMPLATES[\'%s\'] = %s;\n', templateName, | ||
return util.format('Ember.TEMPLATES[\'%s\'] = ' + | ||
'Ember.Handlebars.template(%s);\n', templateName, | ||
templates[templateName]); | ||
@@ -37,0 +39,0 @@ }), this.async()); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5798
98