Exporting Javascript Function #353
Unanswered
kaffimunster
asked this question in
Help
Replies: 1 comment
-
Hi,
Try this:In your template, do:
Hope that helps! ~Welp |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have been trying to follow the documentation to create my own script. However, even replicating the example in the documentation does not work for me. Regardless of the function export I get this error in console:
Template parsing error, aborting. tp.user.myFunction is not a function
In addition to what is mentioned in the documentation, I have tried:
Beta Was this translation helpful? Give feedback.
All reactions