Sha256: 212dae1016b3abdc34b1ee93fed3a0dcfd6dc0f8e21029e6e252e9a5f1c9a913

Contents?: true

Size: 572 Bytes

Versions: 14

Compression:

Stored size: 572 Bytes

Contents

#  frozen_string_literal: true


c=circle({width: 66, height: 66})
t1=c.text({id: :first, data: 0, left: 28})

first_repeater=repeat(1, repeat = 99) do |counter|
  t1.data(counter)
end


c.touch(true) do
  stop({ repeat: first_repeater })
  t1.data(:stopped)
end


cc=circle({width: 66, height: 66, left: 90 })
t2=cc.text({id: :second, data: 0, left: 28})

# # alert first_repeater
my_repeater=repeat(1, repeat = 9) do |counter|
  t2.data(counter)
end
#

#
cc.touch(true) do
  stop({ repeat: my_repeater })
  t2.data(:stopped)
end

# use Float::INFINITY to infinite repeat

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
atome-0.5.7.6.0 vendor/assets/application/examples/repeat.rb
atome-0.5.7.5.9 vendor/assets/application/examples/repeat.rb
atome-0.5.7.5.4 vendor/assets/application/examples/repeat.rb
atome-0.5.7.5.3 vendor/assets/application/examples/repeat.rb
atome-0.5.7.5.1 vendor/assets/application/examples/repeat.rb
atome-0.5.7.4.8 vendor/assets/application/examples/repeat.rb
atome-0.5.7.4.7 vendor/assets/application/examples/repeat.rb
atome-0.5.7.4.6 vendor/assets/application/examples/repeat.rb
atome-0.5.7.4.3 vendor/assets/application/examples/repeat.rb
atome-0.5.7.4.2 vendor/assets/application/examples/repeat.rb
atome-0.5.7.3.9 vendor/assets/application/examples/repeat.rb
atome-0.5.7.3.6 vendor/assets/application/examples/repeat.rb
atome-0.5.7.3.5 vendor/assets/application/examples/repeat.rb
atome-0.5.7.3.3 vendor/assets/application/examples/repeat.rb