mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 10:08:20 -05:00
d22df7731d
- 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
7 lines
261 B
Text
7 lines
261 B
Text
<%
|
|
# 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
|
|
%>
|