Quantcast
Channel: javascript – frag (frăg)
Viewing all articles
Browse latest Browse all 37

MooTools Request.Spy – monitor all requests through the Request class prototype

$
0
0
An interesting question on StackOverflow prompted me to look into creating a universal spy/logger for all Requests that MooTools. The objective is: being able to log / spy on all XHR requests w/o modifying code anywhere. It is trivial to override the Request Class and change the prototype of the success and failure. The problem [...]

Viewing all articles
Browse latest Browse all 37

Trending Articles