
Shims process event functionality.
require("process-events-shim")
This will do nothing
process already, orwindow.onerror is not null when this module is loadedIn Browserify-like environments, the following will happen:
process object will get the standard EventEmitter methods.window.onerror will be a function that emits an uncaughtException event on the process object.unload event which emits an exit event on the process object.The initial structure of this module was generated by Jumpstart, using the Jumpstart Black Coffee template.
process-events-shim is released under the MIT License.
Copyright (c) 2013 Meryn Stol