Skip to content

Can't seem to get this to work #4

@Pumpapa

Description

@Pumpapa

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions