Ticket #994 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.