ember-handlebars-template 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ember/handlebars/templates/sprockets3.rb +5 -2
- data/lib/ember/handlebars/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c25ed8d75f46cc9f05fe573b6cdcf1db1ec2426
|
4
|
+
data.tar.gz: 90c24f5792c35e23431115a4a08cfa028a7cbf06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c4bc0deb1284c0c246155d40212c464b0da4407525ac110674264c7719b54f1be26ab2b6f4046ff0fb6c3abea1021aba25bac6d05bc487018e9f71e070db6d6
|
7
|
+
data.tar.gz: 379c8314eabee4ccda9c95b144ea8565ef7364868435be28c28e41cfdde3db63fa14ef20f681762126d5983c78047d047069851a95a87d79b459669031f2ccfd
|
@@ -58,13 +58,16 @@ module Ember
|
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
61
|
+
actual_name = input[:name]
|
62
|
+
actual_name += '/index' if input[:filename][input[:load_path] + '/' + input[:name] + '/index']
|
63
|
+
|
61
64
|
case config.output_type
|
62
65
|
when :amd
|
63
|
-
target = amd_template_target(config.amd_namespace,
|
66
|
+
target = amd_template_target(config.amd_namespace, actual_name)
|
64
67
|
|
65
68
|
"define('#{target}', ['exports'], function(__exports__){ __exports__['default'] = #{template} });"
|
66
69
|
when :global
|
67
|
-
target = global_template_target(
|
70
|
+
target = global_template_target(actual_name, config)
|
68
71
|
|
69
72
|
"#{target} = #{template}\n"
|
70
73
|
else
|