Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

close.js 295B

1234567891011121314151617
  1. 'use strict';
  2. var inherits = require('inherits')
  3. , Event = require('./event')
  4. ;
  5. function CloseEvent() {
  6. Event.call(this);
  7. this.initEvent('close', false, false);
  8. this.wasClean = false;
  9. this.code = 0;
  10. this.reason = '';
  11. }
  12. inherits(CloseEvent, Event);
  13. module.exports = CloseEvent;