hanber-rails 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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