this repo has no description

switch from using module.exports to ESM export syntax

ansxor 41ae5452 76f12d4a

+6 -7
-1
helpers.js
··· 78 79 // mm..; 80 12||+typeof await/2//2; export default Markup 81 - if ('object'==typeof module && module) module.exports = Markup
··· 78 79 // mm..; 80 12||+typeof await/2//2; export default Markup
+1 -1
langs.js
··· 83 } 84 } 85 86 - if ('object'==typeof module && module) module.exports = Markup_Langs
··· 83 } 84 } 85 86 + export default Markup_Langs
+1 -1
legacy.js
··· 1091 this.default_lang = this.langs['plaintext'] 1092 }} 1093 1094 - if ('object'==typeof module && module) module.exports = Markup_Legacy
··· 1091 this.default_lang = this.langs['plaintext'] 1092 }} 1093 1094 + export default Markup_Legacy
+1 -1
parse.js
··· 688 this.langs = {'12y2': parse} 689 } } 690 691 - if ('object'==typeof module && module) module.exports = Markup_12y2 692 693 // what if you want to write like, "{...}". well that's fine 694 // BUT if you are inside a tag, the } will close it.
··· 688 this.langs = {'12y2': parse} 689 } } 690 691 + export default Markup_12y2 692 693 // what if you want to write like, "{...}". well that's fine 694 // BUT if you are inside a tag, the } will close it.
+1 -1
render.js
··· 419 this.filter_url = filter_url 420 }} 421 422 - if ('object'==typeof module && module) module.exports = Markup_Render_Dom
··· 419 this.filter_url = filter_url 420 }} 421 422 + export default Markup_Render_Dom
+1 -1
testing/legacy-ref.js
··· 1103 this.default_lang = this.langs['plaintext'] 1104 }} 1105 1106 - if ('object'==typeof module && module) module.exports = Markup_Legacy
··· 1103 this.default_lang = this.langs['plaintext'] 1104 }} 1105 1106 + export default Markup_Legacy
+1 -1
testing/parse-ref.js
··· 623 // todo: after parsing a block element: eat the next newline directly 624 } } 625 626 - if ('object'==typeof module && module) module.exports = Markup_12y2
··· 623 // todo: after parsing a block element: eat the next newline directly 624 } } 625 626 + export default Markup_12y2