mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
43d63367fd
(this removes a nice 50K from our initial payload and saves memory) Also fixes invalid HTML automatically if added to HEAD or /BODY
8 lines
183 B
Text
8 lines
183 B
Text
<%
|
|
if Rails.env.development? || Rails.env.test?
|
|
require_asset ("handlebars.js")
|
|
require_asset ("ember-template-compiler.js")
|
|
else
|
|
require_asset ("handlebars.runtime.js")
|
|
end
|
|
%>
|