rijs.data
v2.2.4
Published
[![Coverage Status](https://coveralls.io/repos/rijs/data/badge.svg?branch=master&service=github)](https://coveralls.io/github/rijs/data?branch=master) [![Build Status](https://travis-ci.org/rijs/data.svg)](https://travis-ci.org/rijs/data)
Downloads
41,982
Readme
Ripple | Data
Extends core to register objects and arrays. It also enables per-resource change listeners on those resources, as well versioning info.
ripple('data', [])
All data resources will be emitterified:
// instead of: ripple.on('change', function(name, change){ .. })
ripple('name').on('change', function(change){ .. })
ripple('name').once('change', function(change){ .. })
ripple('name').emit('change')
All data resources will be initialised with versioning info:
ripple('name').log