-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Helper for closures and non-static methods #163
Comments
… it themselves -> pending nette/forms#163
… it themselves -> pending nette/forms#163
Please use only english on GitHub. |
Rewriten in English. |
Thanks |
👍
👎 it is too tricky
That would be fine, but there is no way to do it. |
You could achieve that by doing something like |
How is this related with |
Brainlag, sry. |
Description
I think it would be great to have helpers for closures and non-static methods. It can make JS validation easier and could lead to better code-writing. Correct me if I'm wrong, but for a good JS validation you have to use static methods or named functions that honestly don't belong there.
Naming those methods and closures could look like:
(Class->methodname would result in {"op":"methodname",...})
(Class->methodname would result in {"op":"Class[some separator]methodname"})
exportRules() EXAMPLE
The text was updated successfully, but these errors were encountered: