Class Index | File Index

Classes


Function Namespace Pot.iterate


Defined in: <potlite.js>.

Function Namespace Summary
Constructor Attributes Constructor Name and Description
 
Pot.iterate(object, callback, (context))
Iterate an iterable object.
Field Summary
Field Attributes Field Name and Description
 
Iterates "iterate" loop with slower speed.
 
Iterates "iterate" loop with fast speed.
 
Iterates "iterate" loop with slowest speed.
 
Iterates "iterate" loop with fastest speed.
 
Iterates "iterate" loop with default speed.
 
Iterates "iterate" loop with faster speed.
 
Iterates "iterate" loop with slow speed.
Function Namespace Detail
Pot.iterate(object, callback, (context))
Iterate an iterable object. (using Pot.Iter)
Parameters:
{*} object
An iterable object.
{Function} callback
An iterable function. function(value, key, object) this == `context`. Throw Pot.StopIteration if you want to stop the loop.
{Object} (context)
Optionally, context object. (i.e. this)
Returns:
{*} Result of iteration.
Field Detail
{Function} doze
Iterates "iterate" loop with slower speed.

{Function} fast
Iterates "iterate" loop with fast speed.

{Function} limp
Iterates "iterate" loop with slowest speed.

{Function} ninja
Iterates "iterate" loop with fastest speed.

{Function} normal
Iterates "iterate" loop with default speed.

{Function} rapid
Iterates "iterate" loop with faster speed.

{Function} slow
Iterates "iterate" loop with slow speed.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Sep 21 2012 19:35:45 GMT+0900 (JST)