This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/application.js.erb
Sam b67a3a85dd split js with vendor/application
avoid one huge js bundle and instead break it down
to application and vendor (3rd party) our app changes
a lot, vendor changes a lot less
2013-12-23 10:32:07 +11:00

9 lines
145 B
Plaintext

<%
require_asset ("./main_include.js")
# Include plugin javascripts
DiscoursePluginRegistry.javascripts.each do |js|
require_asset(js)
end
%>