opal-virtual-dom 0.4.0 → 0.4.1

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: 96d8fc092f2b2c0071b9c4f92d3e4695f2c9ce5e
4
- data.tar.gz: 0afbc413e5c4e801371d3baf6621083ff6cbd8db
3
+ metadata.gz: 0afa2c66c4864cdc1820996ba0fcf6fe6f5f760e
4
+ data.tar.gz: af3bffc9cc62a72170e097a1d5d17e7964cd3864
5
5
  SHA512:
6
- metadata.gz: 682a9f128684da190e267aefa56ea2d7feb06b4c08eb092172bc3bd4f2ed04348160bc49e9663c66f4b4e5b2c9a6070a7c290510090f2dae34d3c5d576214a43
7
- data.tar.gz: e65b248bbb68d1cd069cacda0cb94c0ecb3e5709f8d49604aa47bf409becaac2fb2419e49c5a3046d768d391bad96478a95d3b3f34a1a5e949e3bf2017581eff
6
+ metadata.gz: e7499d109da52e41a96e58ca992ba8a6df719a2faea2db2e3873628c549c518673a224f2ab0a65bef9389fdaf2c84c15698ea5acc5970b72d8696d59e717d530
7
+ data.tar.gz: 7d066b7a0229263a4a0a147ad04579a5134f80b65f78a1a88368b79dcf8b70c9c59912388dea0ecafd272ee832ee9fb722af7815155d74dcb421555dfff81e21
data/README.md CHANGED
@@ -22,7 +22,7 @@ require 'browser' # not required
22
22
  require 'virtual_dom'
23
23
 
24
24
  # if you're using broser and you want to have events and elements wrapped
25
- require 'virtual_dom/external_support/browser'
25
+ require 'virtual_dom/support/browser'
26
26
 
27
27
  class SampleList
28
28
  include VirtualDOM
@@ -45,7 +45,7 @@ module VirtualDOM
45
45
 
46
46
  def event_callback(v)
47
47
  proc do |e|
48
- v.call(ExternalSupport.wrap_event(e))
48
+ v.call(Support.wrap_event(e))
49
49
  end
50
50
  end
51
51
 
@@ -15,7 +15,7 @@ module VirtualDOM
15
15
  end
16
16
 
17
17
  def call_block(node, name, previous)
18
- node = ExternalSupport.wrap_node(node)
18
+ node = Support.wrap_node(node)
19
19
  name = Native(name)
20
20
  previous = Native(previous)
21
21
  @block.call(node, name, previous)
@@ -1,5 +1,5 @@
1
1
  module VirtualDOM
2
- module ExternalSupport
2
+ module Support
3
3
  module_function
4
4
 
5
5
  def wrap_node(node)
@@ -1,5 +1,5 @@
1
1
  module VirtualDOM
2
- module ExternalSupport
2
+ module Support
3
3
  module_function
4
4
 
5
5
  def wrap_node(node)
data/opal/virtual_dom.rb CHANGED
@@ -3,7 +3,7 @@ require 'virtual_dom/virtual_node'
3
3
  require 'virtual_dom/wrapper'
4
4
  require 'virtual_dom/dom'
5
5
  require 'virtual_dom/hook'
6
- require 'virtual_dom/external_support'
6
+ require 'virtual_dom/support'
7
7
 
8
8
  module VirtualDOM
9
9
  include VirtualDOM::DOM
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'opal-virtual-dom'
3
- s.version = '0.4.0'
3
+ s.version = '0.4.1'
4
4
  s.authors = ['Michał Kalbarczyk']
5
5
  s.email = 'fazibear@gmail.com'
6
6
  s.homepage = 'http://github.com/fazibear/opal-virtual-dom'
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.0
4
+ version: 0.4.1
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-04-04 00:00:00.000000000 Z
11
+ date: 2016-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal
@@ -57,9 +57,9 @@ files:
57
57
  - opal/virtual-dom.rb
58
58
  - opal/virtual_dom.rb
59
59
  - opal/virtual_dom/dom.rb
60
- - opal/virtual_dom/external_support.rb
61
- - opal/virtual_dom/external_support/browser.rb
62
60
  - opal/virtual_dom/hook.rb
61
+ - opal/virtual_dom/support.rb
62
+ - opal/virtual_dom/support/browser.rb
63
63
  - opal/virtual_dom/virtual_node.rb
64
64
  - opal/virtual_dom/wrapper.rb
65
65
  homepage: http://github.com/fazibear/opal-virtual-dom