discourse/app/assets/javascripts/jquery_include.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

7 lines
140 B
Text

<%
if Rails.env.development?
require_asset ("development/jquery-2.0.3.js")
else
require_asset ("production/jquery-2.0.3.min.js")
end
%>