Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-template-compiler

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-template-compiler - npm Package Compare versions

Comparing version 0.0.1 to 0.0.5

2

package.json

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc