Skip to content

Commit

Permalink
Fixed a doc typo (#222, thanks liquid1982)
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens committed Jul 15, 2008
1 parent 1528bea commit 4ea6f9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Docs/Native/Function.md
Expand Up @@ -154,7 +154,7 @@ Changes the scope of `this` within the target function to refer to the bind para
Function Method: bindWithEvent {#Function:bindWithEvent}
--------------------------------------------------------

Changes the scope of `this` within the target function to refer to the bind parameter. It also makes "space" for an event.
Changes the scope of `this` within the target function to refer to the bind parameter. It also makes "space" for an event.
This allows the function to be used in conjunction with [Element:addEvent][] and arguments.

### Syntax:
Expand Down Expand Up @@ -220,7 +220,7 @@ Delays the execution of a function by a specified duration.
Function Method: periodical {#Function:periodical}
--------------------------------------------------

Executes a function in the specified intervals of time. Periodic execution can be stopped using the [$clear][] function.
Executes a function in the specified intervals of time. Periodic execution can be stopped using the [$clear][] function.

### Syntax:

Expand Down Expand Up @@ -275,7 +275,7 @@ Runs the Function with specified arguments and binding. The same as apply but re
return a + b + c;
}
var myArgs = [1,2,3];
myFn.run(args); //Returns: 6
myFn.run(myArgs); //Returns: 6


#### Run With Binding:
Expand All @@ -284,7 +284,7 @@ Runs the Function with specified arguments and binding. The same as apply but re
return a + b + c + this;
}
var myArgs = [1,2,3];
myFn.run(args, 6); //Returns: 12
myFn.run(myArgs, 6); //Returns: 12



Expand Down

0 comments on commit 4ea6f9e

Please sign in to comment.