Posted By

ecavazos on 01/22/08


Tagged

observer


Versions (?)

Observer Object


 / Published in: JavaScript
 

  1. Observer = new function() {
  2. var obj = this; // function reference
  3. var state1 = null; // track application state 1
  4. var state2 = null; // track application state 2
  5. }

Report this snippet  

You need to login to post a comment.