Sha256: 59ce638e1846790e23f50029f4be822e60898de17e2987f84e63e5ca494788c9

Contents?: true

Size: 360 Bytes

Versions: 33

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true
t=text("touch the box to erase localstorage, long touch on the box to stop historicize")
b=box({top: 66})
c=circle({top: 99})
c.touch(true) do
  c.left(c.left+99)
  # c.left=c.left+33
  # box
end
b.touch(true) do
  JS.eval('localStorage.clear()')
end

b.touch(:long) do
  b.color(:red)
  Universe.allow_localstorage = false

end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
atome-0.5.7.6.0 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.5.9 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.5.4 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.5.3 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.5.1 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.4.8 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.4.7 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.4.6 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.4.3 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.4.2 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.3.9 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.3.6 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.3.5 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.3.3 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.3.2 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.3.1 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.3.0 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.1.8 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.1.7 vendor/assets/application/examples/localstorage.rb
atome-0.5.7.1.0 vendor/assets/application/examples/localstorage.rb