in partnership with mediatemple

Ticket #994 (closed defect: fixed)

Opened 2 weeks ago

Last modified 2 weeks ago

Documentation error?

Reported by: xaphoo Owned by:
Type: defect Priority: trivial
Milestone: Mootools version 1.2 Component: Core
Keywords: documentation Cc:

Description

hi ... i'm newie to mootols so i hope this isn't a repeated ticked

I found on http://docs.mootools.net/Native/Array.js#$A this code:

function myFunction(){

$A(arguments).each(argument, function(){

alert(argument);

});

};

And doesn't work. I think it must be:

function myFunction(){

$A(arguments).each(function(argument){

alert(argument);

});

};

It works!!

I hope it helps.

Change History

Changed 2 weeks ago by JanK

  • status changed from new to closed
  • resolution set to fixed

thanks for the report, but this bug is already fixed in the trunk

Note: See TracTickets for help on using tickets.