@lessondesk/marker-protocol
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -61,5 +61,9 @@ "use strict"; | ||
function MarkerProtocol() { | ||
var _this; | ||
_classCallCheck(this, MarkerProtocol); | ||
return _possibleConstructorReturn(this, _getPrototypeOf(MarkerProtocol).apply(this, arguments)); | ||
_this = _possibleConstructorReturn(this, _getPrototypeOf(MarkerProtocol).call(this)); | ||
_this.markers = []; | ||
return _this; | ||
} | ||
@@ -168,3 +172,3 @@ | ||
value: function openAccessPoint(info) { | ||
var _this = this; | ||
var _this2 = this; | ||
@@ -188,5 +192,5 @@ var _info$filter = info.filter(function (device) { | ||
_this.addMarker(port, packet.data.marker.serial); | ||
_this2.addMarker(port, packet.data.marker.serial); | ||
} else { | ||
_this.emit('data', packet); | ||
_this2.emit('data', packet); | ||
} | ||
@@ -193,0 +197,0 @@ }); |
{ | ||
"name": "@lessondesk/marker-protocol", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Lesson Desk Group marker protocol", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
42972
515