-
Notifications
You must be signed in to change notification settings - Fork 48
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
Global functions #153
Comments
There is no way to do this. Views are self contained and this is by design. |
But defining |
Possibly the detection for what is a valid identifier is broken. That would be a separate issue from global functions. And yes, I think it should work so is likely a bug. |
Should I open a new issue? |
Yep :) if you can make a failing example that would be best.
|
I'm trying to call a function like:
I tried several
dirtyhacks such as:Reactive
prototypeIs there any way to define a function available in all views?
Update:
I'm always getting the following error:
But defining
obj._
does not throw...The text was updated successfully, but these errors were encountered: