mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 08:12:01 +08:00

- adds another :mobile-flag to register_assets - adds test for plugin registering of assets - load plugins when on desktop and plugins_mobile when on mobile
8 lines
261 B
Plaintext
8 lines
261 B
Plaintext
<%
|
|
# TODO this is very tricky, we want to add a dependency here on files that may not yet exist
|
|
# otherwise in dev we are often stuck nuking the tmp/cache directory
|
|
DiscoursePluginRegistry.mobile_stylesheets.each do |css|
|
|
require_asset(css)
|
|
end
|
|
%>
|