mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:33:40 +08:00
445951e854
We'd implemented the deprecation by overriding `get parentView`, and storing the real value on `_parentView`. Unfortunately that meant people could access `_parentView` directly, thereby bypassing the deprecation message. This commit moves the internal storage to a private field, which cannot be accessed from outside the class. A deprecated getter for `_parentView` is introduced to avoid immediate breakage for any code using this workaround. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |