Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

each helper should reside in its own file? #248

Open
pcompassion opened this issue Feb 13, 2016 · 1 comment
Open

each helper should reside in its own file? #248

pcompassion opened this issue Feb 13, 2016 · 1 comment

Comments

@pcompassion
Copy link

require({
  hbs : {
    helperPathCallback: function(name) {return 'cs!/helpers/' + name;}
  }
}, ['main'])

suggests that each handlebar(with name) should have name file.

What if I have collection of helpers in multiple files under non standard (not templates/helper) directory?
How do I make hbs know about it?

This has been asked #168

What if we want to use some 3rd party helper libraries such as

https://github.com/assemble/handlebars-helpers
https://github.com/elving/swag

@symbiosdotwiki
Copy link

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants