And to clarify, this isn't documented anywhere because this is just how
JavaScript works - not how Mutators work.
Note that the documentation DOES say that Implements takes an array, an
object, or a class:

http://mootools.net/docs/Class/Class

On Thu, Oct 16, 2008 at 8:54 AM, Guillermo Rauch <
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> wrote:

> On Thu, Oct 16, 2008 at 12:05 PM, nwhite <[EMAIL 
> PROTECTED]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1341550&i=0>
> > wrote:
>
>> Yeah... it probably should be. Class.Mutators aren't documented at all.
>>
>> As a generally rule all Class.Mutators can only be used once within a
>> class. The is because once a Mutator is called, the property (Mutator) is
>> removed from the class/object.
>>
>
> This is not the reason. If you write a literal expression like this
>
> {
>  Implements: 'something',
>  Implements: 'something-else'
> }
>
> It results in an object {
>  Implements: 'something-else'
> }
>
> So, only one property is parsed and deleted.
>
> --
> Guillermo Rauch
> http://devthought.com
>
>
> ------------------------------
>  View message @
> http://n2.nabble.com/Chain-%2B-Events-in-the-same-class--tp1340512p1341550.html
> To start a new topic under MooTools Users, email
> [EMAIL PROTECTED]<[EMAIL PROTECTED]>
> To unsubscribe from MooTools Users, click here< (link removed) >.
>
>
>


-----
The MooTools Tutorial:  http://www.mootorial.com www.mootorial.com 
CNET Clientside:  http://clientside.cnet.com clientside.cnet.com 
-- 
View this message in context: 
http://n2.nabble.com/Chain-%2B-Events-in-the-same-class--tp1340512p1341753.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to