Skip to content

Commit

Permalink
Merge pull request #339 from rtsao/wasm-init-arraybuffer
Browse files Browse the repository at this point in the history
 Add option to initialize mappings wasm via ArrayBuffer
  • Loading branch information
fitzgen committed May 29, 2018
2 parents 4cd8239 + 6e618f5 commit 282ab0c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -208,7 +208,7 @@ calling `initialize` before constructing any `SourceMapConsumer`s.
The options object has the following properties:

* `"lib/mappings.wasm"`: A `String` containing the URL of the
`lib/mappings.wasm` file.
`lib/mappings.wasm` file, or an `ArrayBuffer` with the contents of `lib/mappings.wasm`.

```js
sourceMap.SourceMapConsumer.initialize({
Expand Down

0 comments on commit 282ab0c

Please sign in to comment.