Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added debug example

  • Loading branch information...
commit 9377074c8dc9630f342e44aa302ce647b675c61c 1 parent 95c6663
@tj tj authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 examples/layout-debug.js
View
11 examples/layout-debug.js
@@ -0,0 +1,11 @@
+
+/**
+ * Module dependencies.
+ */
+
+var jade = require('./../lib/jade');
+
+jade.renderFile(__dirname + '/layout.jade', { debug: true }, function(err, html){
+ if (err) throw err;
+ console.log(html);
+});
Please sign in to comment.
Something went wrong with that request. Please try again.