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
We should support a simple helper so people don't have to check if helper arguments are a compute. For example, a nice link helper could be written like:
registerSimpleHelper would simply register another helper, but would make sure all the arguments and options.hash that are computes are converted to their normal value.
The text was updated successfully, but these errors were encountered:
i think this should become the default behavior for helpers. As described, this feature would still force users to check for computes when you define helpers right in a can.stache() call, or in the helpers object of can.Component.
We should support a simple helper so people don't have to check if helper arguments are a compute. For example, a nice link helper could be written like:
registerSimpleHelper
would simply register another helper, but would make sure all the arguments and options.hash that are computes are converted to their normal value.The text was updated successfully, but these errors were encountered: