Replace browserify/uglify-js with webpack, shrink markdownlint-browser.js (fixes #362).

This commit is contained in:
David Anson 2021-01-05 20:55:09 -08:00
parent 202b50060b
commit 369b0b5934
10 changed files with 844 additions and 3271 deletions

View file

@ -125,7 +125,8 @@
case "#fix":
var error = JSON.parse(decodeURIComponent(e.target.target));
var errors = [ error ];
var fixed = window.helpers.applyFixes(markdown.value, errors);
var fixed =
window.markdownlintRuleHelpers.applyFixes(markdown.value, errors);
markdown.value = fixed;
onMarkdownInput();
e.preventDefault();