hyalite 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/hyalite/main.rb +1 -1
- data/lib/hyalite/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: d037e719b60039ec6bdaa94b3e7f28fcf848fead
|
4
|
+
data.tar.gz: 548bb439f52ab2b0699a4131a50a4d2d19e41919
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 342324f7558409e4f5984573f813c4f6e22ce8294c22895d3db299b791602b380585c5761a39f8c9b550991114684e7488f09e63ae594be111a74c0e52fc0db4
|
7
|
+
data.tar.gz: 201317a4e07a2f179eb2db2157fc87c78b1b58f2e1f19b9af1f08205de6bd4e4d66d4d52133b437743b2e9fc38c5033eac79e9e19936dc4eb5314e54b5b8978a
|
data/Gemfile.lock
CHANGED
data/lib/hyalite/main.rb
CHANGED
@@ -146,7 +146,7 @@ module Hyalite
|
|
146
146
|
end
|
147
147
|
|
148
148
|
def find_dom_node(component_or_element)
|
149
|
-
return component_or_element if component_or_element.
|
149
|
+
return component_or_element if component_or_element.is_a?(DOM::Node) && component_or_element.element?
|
150
150
|
|
151
151
|
if instance_map.has_key?(component_or_element)
|
152
152
|
return Mount.node(instance_map[component_or_element].root_node_id)
|
data/lib/hyalite/version.rb
CHANGED