Skip to content

Commit

Permalink
Merge pull request #2544 from camertron/fix_dataview_typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton authored Mar 3, 2024
2 parents 36ac4ba + 1df2df3 commit 76eeb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/javascript/src/deserialize.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class SerializationBuffer {
}

readDouble() {
const view = new DataVieW(new ArrayBuffer(8));
const view = new DataView(new ArrayBuffer(8));
for (let index = 0; index < 8; index++) {
view.setUint8(index, this.readByte());
}
Expand Down

0 comments on commit 76eeb04

Please sign in to comment.