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