ember-template-compiler
Advanced tools
Comparing version 0.0.1 to 0.0.5
@@ -8,3 +8,3 @@ { | ||
"description": "An npm module for the ember-template-compiler.js file that ships with ember.js", | ||
"version": "0.0.1", | ||
"version": "0.0.5", | ||
"repository": { | ||
@@ -11,0 +11,0 @@ "type": "git", |
@@ -11,10 +11,6 @@ | ||
var compiler = require('ember-template-compiler'); | ||
var input = compiler.precompile(template['content']).toString(); | ||
var output = "Ember.TEMPLATES['" + template['name'] + "'] = Ember.Handlebars.template(" + input + ");"; | ||
var template = fs.readFileSync('foo.handlebars').toString(); | ||
var input = compiler.precompile(template).toString(); | ||
var output = "Ember.TEMPLATES['foo'] = Ember.Handlebars.template(" + input + ");"; | ||
##What are a few projects using this today? | ||
Django based web apps can use this with django-compressor | ||
Pending a pull request to get a precompiler into the karma test runner | ||
##Development | ||
@@ -21,0 +17,0 @@ |
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
85286
21