registerSimpleHelper
can.stache.registerSimpleHelper
Register a helper.
can.stache.registerSimpleHelper(name, helper)
Parameters
-
name
{String}
The name of the helper.
-
helper
{can.stache.simplehelper}
The helper function.
Registers a helper with the Mustache system that always returns the arguments value (instead of a compute). Pass the name of the helper followed by the function to which Mustache should invoke. These are run at runtime.