ember-cli-htmlbars
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -22,4 +22,2 @@ 'use strict'; | ||
setupPreprocessorRegistry: function(type, registry) { | ||
var self = this; | ||
// ensure that broccoli-ember-hbs-template-compiler is not processing hbs files | ||
@@ -31,4 +29,5 @@ registry.remove('template', 'broccoli-ember-hbs-template-compiler'); | ||
ext: 'hbs', | ||
_addon: this, | ||
toTree: function(tree) { | ||
var htmlbarsOptions = self.htmlbarsOptions(); | ||
var htmlbarsOptions = this._addon.htmlbarsOptions(); | ||
return htmlbarsCompile(tree, htmlbarsOptions); | ||
@@ -38,3 +37,3 @@ }, | ||
precompile: function(string) { | ||
var htmlbarsOptions = self.htmlbarsOptions(); | ||
var htmlbarsOptions = this._addon.htmlbarsOptions(); | ||
var templateCompiler = htmlbarsOptions.templateCompiler; | ||
@@ -41,0 +40,0 @@ return utils.template(templateCompiler, string); |
{ | ||
"name": "ember-cli-htmlbars", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A library for adding htmlbars to ember CLI", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
15525