Skip to content

Instantly share code, notes, and snippets.

Avatar

Kool Breeze koolb

  • monet
  • Red
View GitHub Profile
View object-watch.coffee
/*
* object.watch polyfill
*
* 2014-08-23
*
* By koolb@hotmail.com
*
* Usage:
* obj.watch('a', (name, old, new) -> console.log "#{name} changed from #{old} to #{new}"
*