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.

15 lines
292 B

4 years ago
  1. 'use strict';
  2. var inherits = require('inherits')
  3. , Event = require('./event')
  4. ;
  5. function TransportMessageEvent(data) {
  6. Event.call(this);
  7. this.initEvent('message', false, false);
  8. this.data = data;
  9. }
  10. inherits(TransportMessageEvent, Event);
  11. module.exports = TransportMessageEvent;