Sha256: dd84b35cb7720f98ccdf1e9274764017f3c5ff1c966f775b1c57a74aebbc2416

Contents?: true

Size: 393 Bytes

Versions: 21

Compression:

Stored size: 393 Bytes

Contents

require 'hyalite/dom_property_operations'

module Hyalite
  module DOMOperations
    class << self
      def update_property_by_id(id, name, value)
        node = Mount.node(id)

        if value
          DOMPropertyOperations.set_value_for_property(node, name, value)
        else
          DOMPropertyOperations.delete_value_for_property(node, name)
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hyalite-0.3.4 lib/hyalite/dom_operations.rb
hyalite-0.3.2 lib/hyalite/dom_operations.rb
hyalite-0.3.1 lib/hyalite/dom_operations.rb
hyalite-0.3.0 lib/hyalite/dom_operations.rb
hyalite-0.2.8 lib/hyalite/dom_operations.rb
hyalite-0.2.7 lib/hyalite/dom_operations.rb
hyalite-0.2.6 lib/hyalite/dom_operations.rb
hyalite-0.2.5 lib/hyalite/dom_operations.rb
hyalite-0.2.4 lib/hyalite/dom_operations.rb
hyalite-0.2.3 lib/hyalite/dom_operations.rb
hyalite-0.2.2 lib/hyalite/dom_operations.rb
hyalite-0.2.1 lib/hyalite/dom_operations.rb
hyalite-0.2.0 lib/hyalite/dom_operations.rb
hyalite-0.1.1 client/hyalite/dom_operations.rb
hyalite-0.1.0 client/hyalite/dom_operations.rb
hyalite-0.0.6 client/hyalite/dom_operations.rb
hyalite-0.0.5 client/hyalite/dom_operations.rb
hyalite-0.0.4 client/hyalite/dom_operations.rb
hyalite-0.0.3 client/hyalite/dom_operations.rb
hyalite-0.0.2 client/hyalite/dom_operations.rb