Skip to content

Commit

Permalink
Update readme methods
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Jul 31, 2014
1 parent 98e2e11 commit cd09801
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ The loop protection can be used both on the client side and server side. It supp

### Public methods

- loopProtect.hit (callback)
- loopProtect.debug (method)
- loopProtect.alias (string): used if loopProtect is aliased to a different variable
- `loopProtect.hit(number)`: fired when a potential infinite loop is found. Can be overwritten (see example below).
- `loopProtect.alias(string)`: used if loopProtect is aliased to a different variable.
- `loopProtect.debug(bool)`: used for development to trace steps of protection (not included .min file)

### Example implementation

Expand Down

0 comments on commit cd09801

Please sign in to comment.