Skip to content

Commit

Permalink
Update frame-builder.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tibeoh committed Oct 31, 2016
1 parent b3967d4 commit 8790781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/frame-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var assert = require('assert'),
var frame_builder = module.exports = {
frameId: 0,
nextFrameId: function nextFrameId() {
this.frameId = this.frameId > 0xff ? 1 : ++this.frameId;
this.frameId = this.frameId >= 0xff ? 1 : ++this.frameId;
return this.frameId;
},

Expand Down

0 comments on commit 8790781

Please sign in to comment.