fix typo
This commit is contained in:
parent
70a5497821
commit
22c41fcc93
|
@ -27,7 +27,7 @@ var STATE = {
|
||||||
function UdpSocket(type) {
|
function UdpSocket(type) {
|
||||||
this._id = instances++
|
this._id = instances++
|
||||||
this._state = STATE.UNBOUND
|
this._state = STATE.UNBOUND
|
||||||
this._subscriptiom = DeviceEventEmitter.addListener(
|
this._subscription = DeviceEventEmitter.addListener(
|
||||||
'udp-' + this._id + '-data', this._onReceive.bind(this)
|
'udp-' + this._id + '-data', this._onReceive.bind(this)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue