[Prototype-core] Re: Prototype adapter for Pixastic (javascript image processing)

2009-03-02 Thread F.Buratti
thank you! I had already tried to run elem.pixastic () as new effect.pixastic (elem) with the second solution, but I was not successful. I'm studying the source of effect.js ... thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Prototype-core] Re: Prototype adapter for Pixastic (javascript image processing)

2009-03-01 Thread nlloyds
You could do both with a methodized version of (2), the same way you can do $('el').fade(), etc. I like that because they are Effects, and scripty doesn't necessarily own the Effect namespace, so you won't have to depend on it, just do Effect = Effect || {} before you extend it. Nice idea.