honkster-jelly 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/generators/jelly/templates/javascripts/jelly.js +1 -1
- data/jelly.gemspec +1 -1
- data/lib/jelly/common.rb +4 -0
- data/lib/jelly/jelly_helper.rb +2 -2
- metadata +1 -1
data/VERSION.yml
CHANGED
data/jelly.gemspec
CHANGED
data/lib/jelly/common.rb
CHANGED
data/lib/jelly/jelly_helper.rb
CHANGED
@@ -32,14 +32,14 @@ module JellyHelper
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def attach_javascript_component(component_name, *args)
|
35
|
-
key =
|
35
|
+
key = jelly_attach_component_definition_hash(component_name, *args)
|
36
36
|
unless jelly_attached_components.include? key
|
37
37
|
jelly_attached_components << key
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
41
|
def attach_javascript_component_on_ready(component_name, *args)
|
42
|
-
key =
|
42
|
+
key = jelly_attach_component_definition_hash(component_name, *args)
|
43
43
|
unless jelly_attached_components_on_ready.include? key
|
44
44
|
jelly_attached_components_on_ready << key
|
45
45
|
end
|