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
The SproutCore OO system has a system called concatenated properties, which allows certain properties to be appended to when extending or creating. One such example is the displayProperties on SC.View, and concatenatedProperties itself.
However, when SC.Object.reopen is used, any properties that are defined in the concatenatedProperties property or in the concatenatedProperties array itself are removed from the extensions hash.
This leads to unexpected results when using reopen(), such as that certain properties will suddenly disappear or not being considered when using reopen multiple times.
The example below uses the attributeBindings property, which is defined as part of the concatenatedProperties array in SC.View.
The SproutCore OO system has a system called concatenated properties, which allows certain properties to be appended to when extending or creating. One such example is the
displayProperties
on SC.View, andconcatenatedProperties
itself.However, when SC.Object.reopen is used, any properties that are defined in the
concatenatedProperties
property or in the concatenatedProperties array itself are removed from the extensions hash.This leads to unexpected results when using
reopen()
, such as that certain properties will suddenly disappear or not being considered when using reopen multiple times.The example below uses the
attributeBindings
property, which is defined as part of theconcatenatedProperties
array in SC.View.The text was updated successfully, but these errors were encountered: