Skip to content

Commit

Permalink
Fix the error "Buffer.readUInt8 is undefined" on browser environment
Browse files Browse the repository at this point in the history
  • Loading branch information
joojis committed Jul 12, 2018
1 parent a373756 commit 7a4184a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Script.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as _ from "lodash";
import { Buffer } from "buffer";

export class Script {
data: Buffer;
Expand Down

0 comments on commit 7a4184a

Please sign in to comment.