I have a directory jades containing jade snippets.
The command jadebars -o templates.js jades produces:
undefined
18:56:48 - Compiled templates.js
Don't know what the undefined means.
When I include tthe templates.js file after <script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/2.0.0/handlebars.min.js"></script> I get
Uncaught Error: Unknown template object: function in handlebars.min.js:27
e in handlebars.min.js:27
a.template in templates.js:3
(anonymous function) in templates.js:37
(anonymous function)
I have a directory jades containing jade snippets.
The command
jadebars -o templates.js jadesproduces:Don't know what the
undefinedmeans.When I include tthe templates.js file after
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/2.0.0/handlebars.min.js"></script>I get