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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4e112b8dcbdb4c854a4567bfb783242273ee3f2
4
- data.tar.gz: c2d7a195d21c8cf8096f52e96fee5777a954b24f
3
+ metadata.gz: d037e719b60039ec6bdaa94b3e7f28fcf848fead
4
+ data.tar.gz: 548bb439f52ab2b0699a4131a50a4d2d19e41919
5
5
  SHA512:
6
- metadata.gz: f8a1e6ff96ce93693b281dfb5638be48d61de9bd4f4621c4b86a5b9e646724295d908f9618b53ece3c0ad953176cc14a103f75c3a0b2ba4e2d052c19ea8c42d0
7
- data.tar.gz: a8f1f3cf120c7c464d43e2121427c0c4710adadcec24deefdfed54e488e313bb45be6ad068a4c5336f3c432d91000fe4eb237934ec59d00f6bbea6f2c08de98f
6
+ metadata.gz: 342324f7558409e4f5984573f813c4f6e22ce8294c22895d3db299b791602b380585c5761a39f8c9b550991114684e7488f09e63ae594be111a74c0e52fc0db4
7
+ data.tar.gz: 201317a4e07a2f179eb2db2157fc87c78b1b58f2e1f19b9af1f08205de6bd4e4d66d4d52133b437743b2e9fc38c5033eac79e9e19936dc4eb5314e54b5b8978a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hyalite (0.2.1)
4
+ hyalite (0.2.2)
5
5
  opal
6
6
 
7
7
  GEM
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.respond_to?(:node_type) && component_or_element.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)
@@ -1,3 +1,3 @@
1
1
  module Hyalite
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyalite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - youchan