mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
REFACTOR: PreloadStore to ES6
This commit is contained in:
@ -40,7 +40,7 @@ module Discourse
|
||||
module Handlebars
|
||||
module Helper
|
||||
def precompile_handlebars(string)
|
||||
"Discourse.EmberCompatHandlebars.template(#{Barber::Precompiler.compile(string)});"
|
||||
"require('discourse/lib/raw-handlebars').template(#{Barber::Precompiler.compile(string)});"
|
||||
end
|
||||
|
||||
def compile_handlebars(string)
|
||||
|
Reference in New Issue
Block a user