Skip to content

Commit

Permalink
fixes #783. Making the multiple arguments on array.invoke equal to Fu…
Browse files Browse the repository at this point in the history
…nction.attempt, and adding the arguments parameters on Swiff.remote.
  • Loading branch information
fabiomcosta committed Jun 10, 2010
1 parent 5badbbb commit c755be3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Docs/Types/Array.md
Expand Up @@ -167,12 +167,12 @@ Returns an array with the named method applied to the array's contents.

### Syntax:

var arr = myArray.invoke(method, arg1[, arg2, arg3])
var arr = myArray.invoke(method[, arg, arg, arg ...])

### Arguments:

1. method - (*string*) The method to apply to each item in the array.
2. arg1, arg2 - (*mixed*) Any number of arguments to pass to the named method.
2. arg - (*mixed*) Any number of arguments to pass to the named method.

### Returns:

Expand Down
2 changes: 1 addition & 1 deletion Docs/Types/Function.md
Expand Up @@ -53,7 +53,7 @@ Tries to execute a number of functions. Returns immediately the return value of

### Arguments:

* fn - (*function*) The function to execute.
* fn - (*function*) Any number of functions to execute.

### Returns:

Expand Down
3 changes: 2 additions & 1 deletion Docs/Utilities/Swiff.md
Expand Up @@ -66,12 +66,13 @@ Calls an ActionScript function from JavaScript.

### Syntax:

var result = Swiff.remote(obj, fn);
var result = Swiff.remote(obj, fn[, arg, arg, arg ...]);

### Arguments:

1. obj - (*element*) A Swiff instance (an HTML object Element).
2. fn - (*string*) The name of the function to execute in the Flash movie.
3. arg - (*mixed*) Any number of arguments to pass to the named function.

### Returns:

Expand Down

0 comments on commit c755be3

Please sign in to comment.