REFACTOR: PreloadStore to ES6

This commit is contained in:
Robin Ward
2016-07-04 14:15:51 -04:00
parent 25d6915cac
commit bba0fd0654
33 changed files with 149 additions and 141 deletions

View File

@ -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)