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

docs/next/api/helper-api #8

Open
utterances-bot opened this issue Mar 2, 2020 · 2 comments
Open

docs/next/api/helper-api #8

utterances-bot opened this issue Mar 2, 2020 · 2 comments

Comments

@utterances-bot
Copy link

Helpers API | SquirrellyJS

Helpers let you call external functions with portions of your template!

https://squirrelly.js.org/docs/next/api/helper-api

Copy link

I get the following in the console if I do the same as described above.

"Cannot read property 'define' of undefined"

I know it's a beta. Could you tell me what the correct spelling is?

Copy link

I found the mistake.
In the code snippet, "helpers" is written in small letters.
A console.log output showed that "helpers" must start with a capital H

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