You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'call' of undefined
However it seem fairly important to be able to shorten notations for views/renders with a lot of strings and for clarity of context.
Would it make sense to add a property accessor that would return an object listing those method as bound vs. call? This would also allow destructuring to get the needed methods.
The text was updated successfully, but these errors were encountered:
In my project i try do the similar thing. I create Jed object in intermediate module and export function are tied to the object.
This functions in library may be ok with simple project, but i think that bindings will be made in user's code to control state of Jed object explicitly.
Currently one cannot do:
As this would return:
However it seem fairly important to be able to shorten notations for views/renders with a lot of strings and for clarity of context.
Would it make sense to add a property accessor that would return an object listing those method as bound vs. call? This would also allow destructuring to get the needed methods.
The text was updated successfully, but these errors were encountered: