Sha256: 0e0289e1b0281ce958b9b9a5aa08bc8b62cc31ddcee7bf2274f4662cb77c878d

Contents?: true

Size: 538 Bytes

Versions: 42

Compression:

Stored size: 538 Bytes

Contents

#  frozen_string_literal: true


c=circle({width: 66, height: 66})
t1=c.text({id: :first, data: 0, left: 28})
cc=circle({width: 66, height: 66, left: 0 })
t2=cc.text({id: :second, data: 0, left: 28})
first_repeater=repeat(1, repeat = 99) do |counter|
  t1.data(counter)
end

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

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

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

# use Float::INFINITY to infinite repeat

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
atome-0.5.7.3.2 vendor/assets/application/examples/repeat.rb
atome-0.5.7.3.1 vendor/assets/application/examples/repeat.rb
atome-0.5.7.3.0 vendor/assets/application/examples/repeat.rb
atome-0.5.7.1.8 vendor/assets/application/examples/repeat.rb
atome-0.5.7.1.7 vendor/assets/application/examples/repeat.rb
atome-0.5.7.1.0 vendor/assets/application/examples/repeat.rb
atome-0.5.7.0.7 vendor/assets/application/examples/repeat.rb
atome-0.5.7.0.5 vendor/assets/application/examples/repeat.rb
atome-0.5.7.0.4 vendor/assets/application/examples/repeat.rb
atome-0.5.7.0.3 vendor/assets/application/examples/repeat.rb
atome-0.5.7.0.2 vendor/assets/application/examples/repeat.rb
atome-0.5.6.8.7 vendor/assets/application/examples/repeat.rb
atome-0.5.6.8.6 vendor/assets/application/examples/repeat.rb
atome-0.5.6.8.5 vendor/assets/application/examples/repeat.rb
atome-0.5.6.8.3 vendor/assets/application/examples/repeat.rb
atome-0.5.6.7.8 vendor/assets/application/examples/repeat.rb
atome-0.5.6.7.7 vendor/assets/application/examples/repeat.rb
atome-0.5.6.7.6 vendor/assets/application/examples/repeat.rb
atome-0.5.6.7.5 vendor/assets/application/examples/repeat.rb
atome-0.5.6.7.4 vendor/assets/application/examples/repeat.rb