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

ember-template-compiler

Package Overview
Dependencies
Maintainers
2
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 1.4.0-beta.1 to 1.4.0

2

package.json

@@ -8,3 +8,3 @@ {

"description": "An npm module for the ember-template-compiler.js file that ships with ember.js",
"version": "1.4.0-beta.1",
"version": "1.4.0",
"repository": {

@@ -11,0 +11,0 @@ "type": "git",

@@ -14,17 +14,2 @@ var sut = require('../lib/main');

it("compiles down a handlebars template to a function when asObject isn't defined", function() {
result = sut.precompile(template);
expect(typeof(result)).toBe("function");
});
it("compiles down a handlebars template to a function when passed asObject=true", function() {
result = sut.precompile(template, true);
expect(typeof(result)).toBe("function");
});
it("compiles down a handlebars template to a string when asObject=false", function() {
result = sut.precompile(template, false);
expect(typeof(result)).toBe("string");
});
});

@@ -10,3 +10,3 @@ (function() {

* See https://raw.github.com/emberjs/ember.js/master/LICENSE
* @version 1.4.0-beta.1
* @version 1.4.0
*/

@@ -13,0 +13,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