Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Display more wast text lines (#4648)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurydelendik authored and jasonLaster committed Nov 9, 2017
1 parent 1cf85af commit c928751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/wasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function renderWasmText(sourceId: string, { binary }: Object) {
data[i] = binary.charCodeAt(i);
}
const { lines } = getWasmText(sourceId, data);
const MAX_LINES = 100000;
const MAX_LINES = 1000000;
if (lines.length > MAX_LINES) {
lines.splice(MAX_LINES, lines.length - MAX_LINES);
lines.push(";; .... text is truncated due to the size");
Expand Down

0 comments on commit c928751

Please sign in to comment.