Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Commit

Permalink
Jade is a node dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Sep 14, 2016
1 parent 1a26ab6 commit f122610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asciidoctor/core_ext/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def convert node, template_name = nil, opts = {}
if (typeof window !== 'undefined') {
var jade = jade || window.jade;
} else if (typeof require !== 'undefined') {
var jade = jade || require('./jade.js') || require('jade');
var jade = jade || require('jade');
}
var compiled = jade.compile(#{template}, {pretty: true});
return compiled({ node: #{node} });
Expand Down

0 comments on commit f122610

Please sign in to comment.