First commit
This commit is contained in:
17
hGameTest/node_modules/sockjs-client/lib/event/close.js
generated
vendored
Normal file
17
hGameTest/node_modules/sockjs-client/lib/event/close.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
var inherits = require('inherits')
|
||||
, Event = require('./event')
|
||||
;
|
||||
|
||||
function CloseEvent() {
|
||||
Event.call(this);
|
||||
this.initEvent('close', false, false);
|
||||
this.wasClean = false;
|
||||
this.code = 0;
|
||||
this.reason = '';
|
||||
}
|
||||
|
||||
inherits(CloseEvent, Event);
|
||||
|
||||
module.exports = CloseEvent;
|
||||
Reference in New Issue
Block a user