mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 01:43:57 +08:00
68c7c8e25d
We are moving away from the mobile-specific template pattern in favor of logical `{{#if}}` statements. This brings us closer to a standard Ember app, makes testing easier, and reduces duplicate code. This commit includes some minor refactoring in the resolver & component-templates initializer, so that the mobile lookups happen on desktop, without actually being used. This allows us to print the deprecation message consistently, to improve visibility to developers. |
||
---|---|---|
.. | ||
config | ||
helpers | ||
lib | ||
utils | ||
.gitkeep | ||
deprecation-workflow.js | ||
resolver.js |