Sha256: 3fa4a47e11a8ac9515c1f2beec752d942d4cac895ca1465a5ec48857d7a004dd

Contents?: true

Size: 259 Bytes

Versions: 14

Compression:

Stored size: 259 Bytes

Contents

module VirtualDOM
  module Wrapper
    def create(vnode)
      `virtualDom.create(#{vnode})`
    end

    def diff(old, new)
      `virtualDom.diff(#{old}, #{new})`
    end

    def patch(dom, diff)
      `virtualDom.patch(#{dom}, #{diff})`
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
opal-virtual-dom-0.6.1 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.6.0 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.5.1 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.5.0 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.4.3 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.4.2 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.4.1 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.4.0 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.3.0 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.2.3 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.2.2 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.2.1 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.2.0 opal/virtual_dom/wrapper.rb
opal-virtual-dom-0.1.0 opal/virtual_dom/wrapper.rb