mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 06:42:41 +08:00
f8a4c983d1
This PR moves the logic from the nameValidation mixin to a helper class. I've opted to maintain the interface of the previous classes through native getters in combination with dependentKeyCompat so that we limit the amount of changes here (these are referenced in the string form and across classes/templates), and avoid introducing more computed properties from the old reactivity system (alias, readOnly etc.). We now return a POJO for nameValidation since returning an EmberObject makes no difference here. Deprecation warning added to the nameValidation mixin as it's still used in a plugin. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |