Ah, I forgot. MochiKit.Animator is not an official part of MochiKit
(as the name suggests). You can find it here:

http://gr.ayre.st/~grayrest/animator/animator.html

MochiKit.Visual was adapted from Scriptaculous (mostly), but
MochiKit.Animator is instead adapted from Bernard Sumption's
animator.js. I haven't looked at it in detail, but it seems a bit more
general in its approach to animation. The differences don't seem
impossible to bridge, though. My guess is that we should be able to
make MochiKit.Visual better by integrating a few good ideas from
Animator. In particular regarding creating effects that are
synchronized with each other.

Cheers,

/Per

On Wed, Jun 11, 2008 at 6:22 PM, Michael Bond <[EMAIL PROTECTED]> wrote:
>
> Your patch notes indicate not using getElementWidth and
> getElementHeight, what are the preferred?
>
> In a fit of trying to get horizontal scaling to happen at the same
> time as sliding a pair in the case where they were not the same size,
> I had already migrated some of the duplications to helper functions. I
> ended up giving up on the scaling for now but have left the helper
> code. After you let me know what to do with the height/width, I'll
> update that and add the new patch with all current changes to trac.
>
> On the MochiKit.Animator reference, I'm not seeing it in the mochikit
> repository, I assume this is part of another repository or maybe not
> in trunk. Hopefully I'm not duplicating any effort here.
>
> On Jun 11, 4:14 am, "Per Cederberg" <[EMAIL PROTECTED]> wrote:
>> I've added the original patch to Trac #312:
>>
>> http://trac.mochikit.com/ticket/312
>>
>> New functionality in MochiKit.Visual is low priority right now, so I
>> moved it to version 1.5. I also think more generic helper functions
>> are needed to make new functions like these most compact and readable.
>> Perhaps the best ideas from MochiKit.Animator should be included?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to