ember-template-compiler
Advanced tools
Comparing version 1.4.0 to 1.5.0-beta.3
@@ -8,3 +8,3 @@ { | ||
"description": "An npm module for the ember-template-compiler.js file that ships with ember.js", | ||
"version": "1.4.0", | ||
"version": "1.5.0-beta.3", | ||
"repository": { | ||
@@ -11,0 +11,0 @@ "type": "git", |
@@ -10,3 +10,3 @@ (function() { | ||
* See https://raw.github.com/emberjs/ember.js/master/LICENSE | ||
* @version 1.4.0 | ||
* @version 1.5.0-beta.3 | ||
*/ | ||
@@ -233,4 +233,2 @@ | ||
var prefix = "ember" + (+new Date()), incr = 1; | ||
/** | ||
@@ -247,8 +245,3 @@ Rewrite simple mustaches from `{{foo}}` to `{{bind "foo"}}`. This means that | ||
Ember.Handlebars.Compiler.prototype.mustache = function(mustache) { | ||
if (mustache.isHelper && mustache.id.string === 'control') { | ||
mustache.hash = mustache.hash || new Handlebars.AST.HashNode([]); | ||
mustache.hash.pairs.push(["controlID", new Handlebars.AST.StringNode(prefix + incr++)]); | ||
} else if (mustache.params.length || mustache.hash) { | ||
// no changes required | ||
} else { | ||
if (!(mustache.params.length || mustache.hash)) { | ||
var id = new Handlebars.AST.IdNode([{ part: '_triageMustache' }]); | ||
@@ -255,0 +248,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
14764
273
2