npm.io
1.0.5 • Published 11 years ago

gaffa-for-each

Licence
MIT
Version
1.0.5
Deps
0
Vulns
0
Weekly
0

gaffa-for-each

forEach action for gaffa

example (inspect the source)

Install:

npm i gaffa-for-each

Add to gaffa:

var ForEach = require('gaffa-for-each');

gaffa.registerConstructor(ForEach);

API

Properties (instanceof Gaffa.Property)

target (get)

The target object who's keys to itterate over.

Actions

forEach

The actions to call for each item present in the target.

Keywords