top | item 12383399

Monkey-patch madness in JS

4 points| BlueHotDog2 | 9 years ago |blog.getjaco.com

2 comments

order

z3t4|9 years ago

One method could be writing ES5 define property for the methods you depend on, to make sure they are not modified.

alphaXp|9 years ago

Interesting idea! You could configure it to be non writable.

Unfortunately there is a big downside - as a third party plugin you're not really allowed to destructively change the hosted environment.