I need to override a buggy library for a specific browser, but I can't just remove it since it "works" for all the other browsers.
I was trying to accomplish something of the following (like Ruby sending messages to methods):
override the libraries object:
var lib = {}
override any call to this empty object to answer as if I was invoking this code:
lib.xxx = function(){}
is it even possible to do in Javascript?