Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Breaking changes from Dict to Pairs (stdlib v1.9.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariady Putra committed May 31, 2024
1 parent 0866d45 commit 9a845d5
Show file tree
Hide file tree
Showing 5 changed files with 468 additions and 799 deletions.
28 changes: 14 additions & 14 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<meta name="theme-color" content="#eff1f5" media="(prefers-color-scheme: light)"/>
<meta name="theme-color" content="#1e1e2e" media="(prefers-color-scheme: dark)"/>
<link rel="icon" type="image/svg+xml" sizes="any" href="./favicon.svg"/>
<link rel="stylesheet" href="./css/index.css?v=1.0.26-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="./css/atom-one-light.min.css?v=1.0.26-alpha"/>
<link rel="stylesheet" href="./css/index.css?v=1.0.28-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="./css/atom-one-light.min.css?v=1.0.28-alpha"/>
</head>
<body class="prewrap-off theme-light drawer-closed">
<script>
Expand Down Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="./">tx_util</a>
<span id="project-version">
<span>v1.180.202403 </span>
<span>v1.190.202405 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v1.180.202403";
const currentVersion = "v1.190.202405";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -205,9 +205,9 @@ <h2>Modules</h2>

<h1>tx_util</h1>
<p>A utility library to help constructing <code>ScriptContext</code>, useful for testing.</p>
<table><thead><tr><th>ℹ️</th><th>Package info</th><th>aiken-extra/tx_util v1.180.202403</th><th>🪲</th></tr></thead><tbody>
<tr><td>🟢</td><td><strong>Depends on</strong></td><td><strong>aiken-lang/stdlib v1.8.0</strong></td><td>✔️</td></tr>
<tr><td>🟢</td><td><strong>Tested with</strong></td><td><strong><a href="https://github.com/aiken-lang/aiken/tree/21b1e29f0951db3574ffe714c06f3fcc5cd28d51">21b1e29f09</a></strong></td><td>✔️</td></tr>
<table><thead><tr><th>ℹ️</th><th>Package info</th><th>aiken-extra/tx_util v1.190.202405</th><th>🪲</th></tr></thead><tbody>
<tr><td>🟢</td><td><strong>Depends on</strong></td><td><strong>aiken-lang/stdlib v1.9.0</strong></td><td>✔️</td></tr>
<tr><td>🟢</td><td><strong>Tested with</strong></td><td><strong>aiken v1.0.28-alpha</strong></td><td>✔️</td></tr>
</tbody></table>
<h2>Usage Example</h2>
<pre><code class="language-gleam">use tx_util/builder.{
Expand Down Expand Up @@ -310,13 +310,13 @@ <h2>Usage Example</h2>
</defs>
</svg>

<script src="./js/highlight.min.js?v=1.0.26-alpha"></script>
<script src="./js/highlightjs-aiken.js?v=1.0.26-alpha"></script>
<script src="./js/highlight.min.js?v=1.0.28-alpha"></script>
<script src="./js/highlightjs-aiken.js?v=1.0.28-alpha"></script>
<script>
document.querySelectorAll("pre code").forEach((elem) => {
// if (elem.className === "") {
if (elem.className === "") {
elem.classList.add("aiken");
// }
}
});
hljs.highlightAll();
document.querySelectorAll(".member-name > h2 > pre").forEach((el) => {
Expand All @@ -330,9 +330,9 @@ <h2>Usage Example</h2>
el.prepend(a);
});
</script>
<script src="./js/lunr.min.js?v=1.0.26-alpha"></script>
<script src="./js/index.js?v=1711704032"></script>
<script src="./js/lunr.min.js?v=1.0.28-alpha"></script>
<script src="./js/index.js?v=1717157473"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="./search-data.js?v=1711704032"></script>
<script src="./search-data.js?v=1717157473"></script>
</body>
</html>
7 changes: 2 additions & 5 deletions docs/js/highlightjs-aiken.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
hljs.registerLanguage("gleam", highlightJS);
hljs.registerLanguage("aiken", highlightJS);

function highlightJS(hljs) {
hljs.registerLanguage("aiken", function (hljs) {
const KEYWORDS =
"as when is const validator fn if else let use opaque pub expect trace todo error type pure fail";
const COMMAS = {
Expand Down Expand Up @@ -133,4 +130,4 @@ function highlightJS(hljs) {
NUMBER,
],
};
}
});
Loading

0 comments on commit 9a845d5

Please sign in to comment.