This Gist is a test to see what happens when you freeze an object's prototype via Object.freeze
.
I created it because, after I upgraded my [NodeJS][1] installation to version 0.10.2 (I previously had v0.8.18), the [Pipette][2] library stopped working with this error:
Fatal error: Cannot assign to read only property 'onClose' of #<State>
TypeError: Cannot assign to read only property 'onClose' of #<State>
at new State (node_modules/pipette/lib/sink.js:81:16)
The problem is that the library freezes the prototypes of various objects, but the objects want to override some of the