News for hackers. Stuff that matters.
Re:Txtbirds by jofo25 on Friday November 09, 2012 @11:56AM (#4763624)
I liked this little trick for going over and over an array:

this.flaps = [ '------', '/‾\\/‾\\', '‾‾\\/‾‾' ]; ... this.el.innerHTML = this.flaps[this.flap_i++ % this.flaps.length];

There are no comments on this comment yet.