/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Observer = new function() { var obj = this; // function reference var state1 = null; // track application state 1 var state2 = null; // track application state 2 }