mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:34:09 +08: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
9 lines
183 B
Plaintext
9 lines
183 B
Plaintext
<%
|
|
if Rails.env.development? || Rails.env.test?
|
|
require_asset ("handlebars.js")
|
|
require_asset ("ember-template-compiler.js")
|
|
else
|
|
require_asset ("handlebars.runtime.js")
|
|
end
|
|
%>
|