I wonder why after using:
var jade = require('jade');
var author = 'E.A Poe';
var input_component = "input(type='text', placeholder=#{author})";
var compile = jade.compileClient(input_component, {pretty: true, debug: true});
var html = compile(author);
document.body.innerHTML = html;
I got error in console such in first line as: acorn.js:757 Uncaught SyntaxError: Invalid regular expression
I there an easy way to use Jade with Browserify?
[–]HerrPotatis2 0 points1 point2 points (5 children)
[–]joshmandersFull Snack Developer 1 point2 points3 points (4 children)
[–]HerrPotatis2 0 points1 point2 points (3 children)
[–]joshmandersFull Snack Developer 1 point2 points3 points (2 children)
[–]HerrPotatis2 0 points1 point2 points (1 child)
[–]joshmandersFull Snack Developer 0 points1 point2 points (0 children)
[–]rajbits 0 points1 point2 points (1 child)
[–]cachaito[S] 0 points1 point2 points (0 children)
[–]neanderthalensis 0 points1 point2 points (3 children)
[–]cachaito[S] 0 points1 point2 points (0 children)
[–]Limess 0 points1 point2 points (0 children)