mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 18:12:46 +08:00
e4fbb3be21
1. Replace `{{did-insert` with the builtin `{{on` modifier 2. Move the i18n call into the template With both of those changes, there is no logic left in the backing class, so we can switch to `templateOnly()` which is significantly faster. (granted, not a big deal for a component like this, but it makes for a good demonstration) |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |