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

ember-cli-htmlbars

Package Overview
Dependencies
Maintainers
2
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-htmlbars - npm Package Compare versions

Comparing version 0.7.4 to 0.7.5

.jshintignore

8

ember-addon-main.js

@@ -33,3 +33,3 @@ 'use strict';

}
})
});

@@ -42,4 +42,2 @@ if (type === 'parent') {

included: function (app) {
var self = this;
this._super.included.apply(this, arguments);

@@ -64,3 +62,3 @@

return path.join(this.project.root, templateCompilerPath);
return path.resolve(this.project.root, templateCompilerPath);
},

@@ -93,2 +91,2 @@

}
}
};

@@ -0,1 +1,3 @@

'use strict';
var Filter = require('broccoli-filter');

@@ -27,3 +29,2 @@

var plugins = this.options.plugins;
var templateCompiler = this.options.templateCompiler;

@@ -50,6 +51,6 @@ if (plugins) {

TemplateCompiler.prototype.processString = function (string, relativePath) {
return "export default Ember.HTMLBars.template(" + this.precompile(string, false) + ');';
}
TemplateCompiler.prototype.processString = function (string/*, relativePath */) {
return 'export default Ember.HTMLBars.template(' + this.precompile(string, false) + ');';
};
module.exports = TemplateCompiler;
{
"name": "ember-cli-htmlbars",
"version": "0.7.4",
"version": "0.7.5",
"description": "A library for adding htmlbars to ember CLI",

@@ -12,3 +12,3 @@ "main": "index.js",

"type": "git",
"url": "git@github.com:rondale-sc/ember-cli-htmlbars.git"
"url": "git@github.com:ember-cli/ember-cli-htmlbars.git"
},

@@ -25,5 +25,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/rondale-sc/ember-cli-htmlbars/issues"
"url": "https://github.com/ember-cli/ember-cli-htmlbars/issues"
},
"homepage": "https://github.com/rondale-sc/ember-cli-htmlbars",
"homepage": "https://github.com/ember-cli/ember-cli-htmlbars",
"devDependencies": {

@@ -33,3 +33,4 @@ "bower": "^1.3.12",

"broccoli-concat": "0.0.11",
"mocha": "^1.21.4"
"mocha": "^1.21.4",
"mocha-jshint": "^0.0.9"
},

@@ -36,0 +37,0 @@ "dependencies": {

@@ -40,5 +40,5 @@ 'use strict';

var source = fs.readFileSync(sourcePath + '/template.hbs', { encoding: 'utf8' });
var expected = "export default Ember.HTMLBars.template(" + htmlbarsPrecompile(source) + ");";
var expected = 'export default Ember.HTMLBars.template(' + htmlbarsPrecompile(source) + ');';
assert.equal(actual,expected,'They dont match!')
assert.equal(actual,expected,'They dont match!');
});

@@ -58,7 +58,7 @@ });

var source = fs.readFileSync(sourcePath + '/web-component-template.hbs', { encoding: 'utf8' });
var expected = "export default Ember.HTMLBars.template(" + htmlbarsPrecompile(source) + ");";
var expected = 'export default Ember.HTMLBars.template(' + htmlbarsPrecompile(source) + ');';
assert.equal(actual,expected,'They dont match!')
assert.equal(actual,expected,'They dont match!');
});
});
});
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