New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-handlebars-brunch

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-handlebars-brunch - npm Package Compare versions

Comparing version 1.0.0-rc.6 to 1.0.0-rc.7

2

package.json
{
"name": "ember-handlebars-brunch",
"version": "1.0.0-rc.6",
"version": "1.0.0-rc.7",
"description": "Adds pre-compiling support for Ember Handlebars templates to Brunch",

@@ -5,0 +5,0 @@ "author": {

(function() {
var Ember = { assert: function() {} };
// Version: v1.0.0-rc.6
// Last commit: 893bbc4 (2013-06-23 15:14:46 -0400)
// Version: v1.0.0-rc.7
// Last commit: b612079 (2013-08-14 00:35:26 -0500)

@@ -21,8 +21,8 @@

var Handlebars = this.Handlebars || (Ember.imports && Ember.imports.Handlebars);
if(!Handlebars && typeof require === 'function') {
if (!Handlebars && typeof require === 'function') {
Handlebars = require('handlebars');
}
Ember.assert("Ember Handlebars requires Handlebars version 1.0.0-rc.4. Include a SCRIPT tag in the HTML HEAD linking to the Handlebars file before you link to Ember.", Handlebars)
Ember.assert("Ember Handlebars requires Handlebars version 1.0.0-rc.4, COMPILER_REVISION expected: 3, got: " + Handlebars.COMPILER_REVISION + " – Please note: Builds of master may have other COMPILER_REVISION values.", Handlebars.COMPILER_REVISION === 3);
Ember.assert("Ember Handlebars requires Handlebars version 1.0.0. Include a SCRIPT tag in the HTML HEAD linking to the Handlebars file before you link to Ember.", Handlebars);
Ember.assert("Ember Handlebars requires Handlebars version 1.0.0, COMPILER_REVISION expected: 4, got: " + Handlebars.COMPILER_REVISION + " - Please note: Builds of master may have other COMPILER_REVISION values.", Handlebars.COMPILER_REVISION === 4);

@@ -84,3 +84,3 @@ /**

Assuming a view subclass named `App.CalenderView` were defined, a helper
Assuming a view subclass named `App.CalendarView` were defined, a helper
for rendering instances of this view could be registered as follows:

@@ -127,3 +127,3 @@

Ember.Handlebars.registerHelper(name, function(options) {
Ember.assert("You can only pass attributes as parameters (not values) to a application-defined helper", arguments.length < 2);
Ember.assert("You can only pass attributes (such as name=value) not bare values to a helper for a View", arguments.length < 2);
makeBindings(options);

@@ -135,3 +135,3 @@ return Ember.Handlebars.helpers.view.call(this, value, options);

}
}
};

@@ -217,3 +217,3 @@ /**

} else {
var id = new Handlebars.AST.IdNode(['_triageMustache']);
var id = new Handlebars.AST.IdNode([{ part: '_triageMustache' }]);

@@ -223,3 +223,3 @@ // Update the mustache node to include a hash value indicating whether the original node

// changes and we need to re-render the value.
if(!mustache.escaped) {
if (!mustache.escaped) {
mustache.hash = mustache.hash || new Handlebars.AST.HashNode([]);

@@ -282,3 +282,6 @@ mustache.hash.pairs.push(["unescaped", new Handlebars.AST.StringNode("true")]);

return Ember.Handlebars.template(templateSpec);
var template = Ember.Handlebars.template(templateSpec);
template.isMethod = false; //Make sure we don't wrap templates with ._super
return template;
};

@@ -285,0 +288,0 @@ }

Sorry, the diff of this file is too big to display

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