Quantcast
Viewing latest article 12
Browse Latest Browse All 37

Spying unobtrusively on Class instance events in MooTools

Ever needed to debug how your Class instances fire Events? It can be frustrating and messy, especially if you do not have access to the original Class prototype source. But, you can hack your way around this and create a transparent spy on all fireEvent methods on any Class instance. Here is how: (function() { [...]

Viewing latest article 12
Browse Latest Browse All 37

Trending Articles