ember-emblem-template 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ember/emblem/rails.rb +0 -2
- data/lib/ember/emblem/template.rb +5 -0
- data/lib/ember/emblem/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: 65c9ce9dac3fb4b44d4d8390bd7b2d6321e1d19a
|
4
|
+
data.tar.gz: d82824910a3f26e2f5eb8a912bbee9beb2f474dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 789b88a3e8dc849f9bde59ef4d3ce958d2944f74fd07b933b7841c46bb0b121fc0e45f2ec84de6910c613f37b096e8b597001bd859b32a320fd7bfc3e8f22e81
|
7
|
+
data.tar.gz: 27823510e020bb61dac7185a4e9333ec0b67c3b0cfebac3c2f8e03e4937fee6b035d370145f8fd3c47662f084d95874441a765086389fa54330191c7ba3e0b19
|
data/lib/ember/emblem/rails.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'sprockets'
|
2
2
|
require 'barber'
|
3
3
|
require 'ember/handlebars/template'
|
4
|
+
require 'ember/emblem/rails' if defined?(Rails)
|
4
5
|
|
5
6
|
module Ember
|
6
7
|
module Emblem
|
@@ -59,6 +60,10 @@ module Ember
|
|
59
60
|
handlebars = Precompiler.compile(string)
|
60
61
|
"Ember.#{ember_template}.template(#{Barber::Ember::Precompiler.compile(handlebars)});"
|
61
62
|
end
|
63
|
+
|
64
|
+
def config
|
65
|
+
@config ||= Config.new
|
66
|
+
end
|
62
67
|
end
|
63
68
|
end
|
64
69
|
end
|
data/lib/ember/emblem/version.rb
CHANGED