opal-virtual-dom 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/opal-virtual-dom.gemspec +1 -1
- data/opal/virtual_dom/dom.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 634c72e5f68dc1798887cb2c73b41ea57d2367d4
|
4
|
+
data.tar.gz: 2862cd38499e3cbd1a96e23fb5c2b0bb2ab998f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aac7e8efb0a5d7a38919d683e09dcaae72701a63007e39f4a6abc02ac587738b46d33a6429154edd198a8301763296617a05048ddca6e73ddbc2480469132d80
|
7
|
+
data.tar.gz: b6984ef09f1fa1dcced0074503960b5929540a4917c6b15a5665cbe3ae59dfda4a5d081f6c2934220462f206dd458107bfc30dd872f1a1b03400ab3c5bd6e98b
|
data/opal-virtual-dom.gemspec
CHANGED
data/opal/virtual_dom/dom.rb
CHANGED
@@ -18,6 +18,8 @@ module VirtualDOM
|
|
18
18
|
result = block.call || ''
|
19
19
|
vnode = VirtualNode.new(tag, process_params(params), @__virtual_nodes__.count == 0 ? result : @__virtual_nodes__).to_n
|
20
20
|
@__virtual_nodes__ = current
|
21
|
+
elsif params.is_a?(String)
|
22
|
+
vnode = VirtualNode.new(tag, {}, [params]).to_n
|
21
23
|
else
|
22
24
|
vnode = VirtualNode.new(tag, process_params(params), []).to_n
|
23
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal-virtual-dom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michał Kalbarczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|