Skip to content

Instantly share code, notes, and snippets.

@marcusbesjes
Created September 2, 2015 12:30
Show Gist options
  • Save marcusbesjes/3f196a902960078c22b5 to your computer and use it in GitHub Desktop.
Save marcusbesjes/3f196a902960078c22b5 to your computer and use it in GitHub Desktop.
var packagejson = {
"dependencies": {
"vjs": "git+ssh://git@github.com/vigour-io/vjs#develop"
}
}
var Observable = require('vjs/lib/observable')
var list = new Observable()
list.on('$property', function(meta){
console.log('a property was added or removed!', meta)
})
list.set({
key: 'value',
otherkey: {
blux: true
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment