Skip to content

Commit

Permalink
Merge pull request #151 from yaacov/bump-bugfix-version
Browse files Browse the repository at this point in the history
Bump bugfix version
  • Loading branch information
yaacov authored Oct 1, 2017
2 parents 0d8d90a + 7dfe418 commit 4fd1356
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "modbus-serial",
"version": "6.0.0",
"version": "6.0.1",
"description": "A pure JavaScript implemetation of MODBUS-RTU (Serial and TCP) for NodeJS.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions ports/asciiport.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,6 @@ var AsciiPort = function(path, options) {
}
});

EventEmitter.call(this);

/**
* Check if port is open.
*
Expand All @@ -182,6 +180,8 @@ var AsciiPort = function(path, options) {
return this._client.isOpen;
}
});

EventEmitter.call(this);
};
util.inherits(AsciiPort, EventEmitter);

Expand Down
4 changes: 2 additions & 2 deletions ports/c701port.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ var UdpPort = function(ip, options) {
modbus.openFlag = false;
});

EventEmitter.call(this);

/**
* Check if port is open.
*
Expand All @@ -117,6 +115,8 @@ var UdpPort = function(ip, options) {
return this.openFlag;
}
});

EventEmitter.call(this);
};
util.inherits(UdpPort, EventEmitter);

Expand Down
4 changes: 2 additions & 2 deletions ports/rtubufferedport.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ var RTUBufferedPort = function(path, options) {
}
});

EventEmitter.call(this);

/**
* Check if port is open.
*
Expand All @@ -90,6 +88,8 @@ var RTUBufferedPort = function(path, options) {
return this._client.isOpen;
}
});

EventEmitter.call(this);
};
util.inherits(RTUBufferedPort, EventEmitter);

Expand Down
4 changes: 2 additions & 2 deletions ports/tcpport.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ var TcpPort = function(ip, options) {
handleCallback(had_error);
});

EventEmitter.call(this);

/**
* Check if port is open.
*
Expand All @@ -107,6 +105,8 @@ var TcpPort = function(ip, options) {
return this.openFlag;
}
});

EventEmitter.call(this);
};
util.inherits(TcpPort, EventEmitter);

Expand Down
4 changes: 2 additions & 2 deletions ports/tcprtubufferedport.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ var TcpRTUBufferedPort = function(ip, options) {
handleCallback(had_error);
});

EventEmitter.call(this);

/**
* Check if port is open.
*
Expand All @@ -124,6 +122,8 @@ var TcpRTUBufferedPort = function(ip, options) {
return this.openFlag;
}
});

EventEmitter.call(this);
};
util.inherits(TcpRTUBufferedPort, EventEmitter);

Expand Down
4 changes: 2 additions & 2 deletions ports/telnetport.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ var TelnetPort = function(ip, options) {
handleCallback(had_error);
});

EventEmitter.call(this);

/**
* Check if port is open.
*
Expand All @@ -112,6 +110,8 @@ var TelnetPort = function(ip, options) {
return this.openFlag;
}
});

EventEmitter.call(this);
};
util.inherits(TelnetPort, EventEmitter);

Expand Down
4 changes: 2 additions & 2 deletions ports/testport.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ var TestPort = function() {
// simulate 16 coils / digital inputs
this._coils = 0x0000; // TODO 0xa12b, 1010 0001 0010 1011

EventEmitter.call(this);

/**
* Check if port is open.
*
Expand All @@ -44,6 +42,8 @@ var TestPort = function() {
return true;
}
});

EventEmitter.call(this);
};
util.inherits(TestPort, EventEmitter);

Expand Down

0 comments on commit 4fd1356

Please sign in to comment.