Makes sense to me. Done.
I actually made some posts about using Loop (or any mixin, really):
http://blog.flobro.com/#/posts/4-mootools-mixins-part-one-loop-js
http://blog.flobro.com/#/posts/5-mootools-mixins-part-two-
spriteanimation-js
http://blog.flobro.com/#/posts/6-mootools-mixins-part-three-
simpleslideshow-js
-Ryan Florence
On Oct 20, 2009, at 9:07 PM, csuwldcat wrote:
What do you think about dropping the -ing on the start and stop
calls? I say this only for length sake, take it or leave it :)
On Oct 19, 11:51 am, Rolf -nl <[email protected]> wrote:
Not looping anything right now, but I like it anyway :)
Also dig the wallpaper plugin, I think I can use it too which saves
me
some time!
Cheers
On Oct 19, 8:22 pm, Ryan Florence <[email protected]> wrote:
Cool, thanks.
I plan on allowing users to have more than one library (at the
moment
you have to register twice for two libraries). I'll also be
allowing
users to make libraries public or private, since some classes are so
application specific you don't necessarily want to share them.
On Oct 19, 2009, at 11:53 AM, Eneko Alonso wrote:
The site looks good too... I signed up and soon will be sharing
some
mootools snippets I have.
On Sun, Oct 18, 2009 at 8:49 PM, Ryan Florence
<[email protected]> wrote:
Thanks Fabio,
Here's probably a better demo of is use:
http://ryanflorence.com/scripts/mootools/InfiniteTicker/test/
On Oct 18, 2009, at 4:21 PM, Fábio M. Costa wrote:
oh nice, i always wanted to implement a mixin class but i just
cant
find a
generic case where it fits.
Nice one!
i see you got a lot of work in there Ryan.
Thanks for your contributions!
cya
--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interface
On Sun, Oct 18, 2009 at 6:38 PM, Ryan Florence
<[email protected]> wrote:
http://moodocs.ryanflorence.com/RpFlo/Loop
It seems several of my classes end up with some methods to start,
stop,
and reset a loop that's firing a function on a timer: image
galleries, news
tickers, twitter feeds, sprite animations, to name a few.
Instead of writing out those methods every time, now I can just
implement
Loop and I'm done.
You can use it just like Options or Events in any class.
Enjoy!