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

broadway-handlebars

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broadway-handlebars - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

6

index.js

@@ -158,6 +158,10 @@ var _ = require('lodash'),

catch (e) {
callback('Error in view - ' + view + ': ' + (e.stack || e));
callback('Error in view - ' + view + ': ' + (e.message) + '\n' + (e.stack || ''));
}
};
this.templates = function(callback) {
viewResolver.all(callback);
};
};

@@ -164,0 +168,0 @@

2

package.json
{
"name": "broadway-handlebars",
"version": "0.1.7",
"version": "0.1.8",
"main": "index",

@@ -5,0 +5,0 @@ "description": "Plugin for flatiron/broadway for rendering with the handlebars view engine.",

@@ -12,2 +12,4 @@ var http = require('http'),

var tests = ['render', 'templates'];
app.render('index', {

@@ -28,3 +30,19 @@ languages: {

console.log(content);
process.exit();
tests.splice(0,1);
});
app.templates(function(err, dict) {
console.log(dict);
tests.splice(1,1);
});
var checkExit = function() {
if (tests.length == 0) {
process.exit();
} else {
process.nextTick(checkExit);
}
};
process.nextTick(checkExit);
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