Skip to content

Latest commit

 

History

History
34 lines (17 loc) · 830 Bytes

README.md

File metadata and controls

34 lines (17 loc) · 830 Bytes

fendjs-collection

Build Status

Enumerable data model collections, with all Enumerable methods available.

Installation

$ component install Frapwings/fendjs-collection

API

Collection([models])

Initialize a new collection with the given models.

Collection#length()

Return the collection length.

Collection#push(model:Object)

Add model to the collection and return the index.

License

MIT license.

See the LICENSE.

Bitdeli Badge