Threshold for treating output as a file is now configurable

This commit is contained in:
n1474335 2017-12-27 12:29:10 +00:00
parent e81122739b
commit caf794b01d
3 changed files with 24 additions and 18 deletions

View file

@ -38,15 +38,16 @@ function main() {
];
const defaultOptions = {
updateUrl: true,
showHighlighter: true,
treatAsUtf8: true,
wordWrap: true,
showErrors: true,
errorTimeout: 4000,
attemptHighlight: true,
theme: "classic",
useMetaKey: false
updateUrl: true,
showHighlighter: true,
treatAsUtf8: true,
wordWrap: true,
showErrors: true,
errorTimeout: 4000,
attemptHighlight: true,
theme: "classic",
useMetaKey: false,
outputFileThreshold: 1024
};
document.removeEventListener("DOMContentLoaded", main, false);