Skip to content

Commit

Permalink
remove XRegExp, browser support is now better
Browse files Browse the repository at this point in the history
  • Loading branch information
obfusk committed Aug 27, 2024
1 parent 3bb62aa commit 5c4bada
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5,875 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# TODO: s/Scheme/Koneko/
*.knk linguist-language=Scheme
js/xregexp-all.js linguist-vendored
3 changes: 1 addition & 2 deletions js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
box-shadow: 0 0 0 3px rgba(0,123,255,.5);
}
</style>
<script src="xregexp-all.js"></script>
<script src="koneko.js"></script>
<script>
window.addEventListener("load", async () => {
Expand Down Expand Up @@ -148,7 +147,7 @@
<br/>
All JavaScript on this page is Free Software: koneko and its
standard library are licensed under GPLv3+ and LGPLv3+
respectively, XRegExp is licensed under MIT.
respectively.
<br/>
</noscript>
<br/>
Expand Down
4 changes: 2 additions & 2 deletions js/koneko.js
Original file line number Diff line number Diff line change
Expand Up @@ -2086,8 +2086,8 @@ if (_req && (_mod === _req.main ||

})(
...(typeof module === "undefined" ?
[this , "koneko" , null , XRegExp] : // browser
[module, "exports", require, RegExp]) // node.js
[this , "koneko" , null , RegExp] : // browser
[module, "exports", require, RegExp]) // node.js
)

// vim: set tw=70 sw=2 sts=2 et fdm=marker :
Loading

0 comments on commit 5c4bada

Please sign in to comment.