Cleanup: WebSocket Helper
File: websock.js Tests Added: True Changes: - Cleaned up JSHint errors - Converted to normal JS constructor pattern with "private" fields and methods now simply being prepended by underscores - Added a "bind" polyfill for use in PhantomJS 1.x in util.js - Added FakeWebSocket to fill in for actual WebSocket objects when testing - Made exception handler actually log exception name and message, to console, in addition to stack trace
Showing
tests/fake.websocket.js
0 → 100644
tests/test.websock.js
0 → 100644
Please
register
or
sign in
to comment