Created
September 2, 2015 12:30
-
-
Save marcusbesjes/3f196a902960078c22b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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