8000 GitHub - rijs/data at v0.1.3
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rijs/data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ripple | Data

Coverage Status Build Status

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
0