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
https://canjs.com/doc/can-stache.helperOptions.html specifies that the helperOptions object passed into stache helpers should have a context property whose value is the current context when the stache is executed. However, this property is missing from all stache helper executions.
Underlying Reason:
The context property on HelperOptions is defined as a lazy value. Lazy values are always defined as non-enumerable, so when the core helperOptions object is cloned using can-assign before the helper execution, the context property is not assigned to the clone.
Environment:
Software
Version
can-stache version
5.1.1
Browser
Chrome
Operating system
Mac OS Catalina
The text was updated successfully, but these errors were encountered:
How often can you reproduce it?
Description:
https://canjs.com/doc/can-stache.helperOptions.html specifies that the helperOptions object passed into stache helpers should have a
context
property whose value is the current context when the stache is executed. However, this property is missing from all stache helper executions.Underlying Reason:
The context property on HelperOptions is defined as a lazy value. Lazy values are always defined as non-enumerable, so when the core helperOptions object is cloned using can-assign before the helper execution, the
context
property is not assigned to the clone.Environment:
The text was updated successfully, but these errors were encountered: