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

docpad-plugin-handlebars

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docpad-plugin-handlebars - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

History.md

8

out/handlebars.plugin.js

@@ -14,4 +14,2 @@ // Generated by CoffeeScript 1.3.3

HandlebarsPlugin.prototype.priority = 725;
HandlebarsPlugin.prototype.handlebars = null;

@@ -36,7 +34,7 @@

HandlebarsPlugin.prototype.render = function(opts) {
var content, file, handlebars, inExtension, outExtension, templateData;
inExtension = opts.inExtension, outExtension = opts.outExtension, templateData = opts.templateData, file = opts.file, content = opts.content;
var content, handlebars, inExtension, templateData;
inExtension = opts.inExtension, templateData = opts.templateData, content = opts.content;
handlebars = this.handlebars;
if (inExtension === 'hb' || inExtension === 'hbs' || inExtension === 'handlebars') {
return opts.content = handlebars.compile(content)(templateData);
return opts.content = handlebars.compile(opts.content)(templateData);
}

@@ -43,0 +41,0 @@ };

{
"name": "docpad-plugin-handlebars",
"version": "2.0.0",
"version": "2.0.1",
"description": "Adds support for the Handlebars templating engine to DocPad.",

@@ -21,2 +21,3 @@ "homepage": "https://github.com/bevry/docpad-extras",

"contributors": [
"Mike Moulton <mike@meltmedia.com> (http://meltmedia.com)",
"Benjamin Lupton <b@lupton.cc> (http://balupton.com)"

@@ -23,0 +24,0 @@ ],

Sorry, the diff of this file is not supported yet

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