forked from projectmoon/tenebrous-dicebot
16 lines
292 B
JavaScript
16 lines
292 B
JavaScript
'use strict';
|
|
|
|
var inherits = require('inherits')
|
|
, Event = require('./event')
|
|
;
|
|
|
|
function TransportMessageEvent(data) {
|
|
Event.call(this);
|
|
this.initEvent('message', false, false);
|
|
this.data = data;
|
|
}
|
|
|
|
inherits(TransportMessageEvent, Event);
|
|
|
|
module.exports = TransportMessageEvent;
|