hanber-rails 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hanber/handlebars/template.rb +2 -2
- data/lib/hanber/rails/version.rb +1 -1
- metadata +1 -1
@@ -45,7 +45,7 @@ module Hanber
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def template_target(scope)
|
48
|
-
"
|
48
|
+
"Ember.TEMPLATES[#{template_path(scope.logical_path).inspect}]"
|
49
49
|
end
|
50
50
|
|
51
51
|
def compile_handlebars(string)
|
@@ -57,7 +57,7 @@ module Hanber
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def compile_ember_handlebars(string)
|
60
|
-
"
|
60
|
+
"Ember.Handlebars.compile(#{indent(string).inspect});"
|
61
61
|
end
|
62
62
|
|
63
63
|
def precompile_ember_handlebars(string)
|
data/lib/hanber/rails/version.rb
CHANGED