Adding upstream version 0.0~git20250520.a1d9079+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
590ac7ff5f
commit
20149b7f3a
456 changed files with 70406 additions and 0 deletions
61
example/ivy/android/app/src/main/assets/tape.html
Normal file
61
example/ivy/android/app/src/main/assets/tape.html
Normal file
|
@ -0,0 +1,61 @@
|
|||
<!--
|
||||
Copyright 2015 The Go Authors. All rights reserved.
|
||||
Use of this source code is governed by a BSD-style
|
||||
license that can be found in the LICENSE file.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" charset="UTF-8">
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
div {
|
||||
padding: 1;
|
||||
white-space: pre-wrap;
|
||||
font-family: "Roboto Mono", monospace;
|
||||
}
|
||||
.comment {
|
||||
color: grey;
|
||||
}
|
||||
.expr {
|
||||
font-weight: bold;
|
||||
}
|
||||
.flow-hide {
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
.flow-show {
|
||||
word-break: break-all;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
|
||||
function flowClick(el) {
|
||||
el.classList.toggle("flow-hide");
|
||||
el.classList.toggle("flow-show");
|
||||
}
|
||||
|
||||
function appendDiv(txt, tag) {
|
||||
var el = document.createElement("div");
|
||||
el.innerHTML = txt;
|
||||
if (tag == "comment") {
|
||||
el.classList.add("comment");
|
||||
} else if (tag == "expr") {
|
||||
el.classList.add("expr");
|
||||
} else {
|
||||
el.classList.add("flow-show");
|
||||
el.onclick = function() {
|
||||
flowClick(el);
|
||||
};
|
||||
}
|
||||
document.body.appendChild(el);
|
||||
}
|
||||
|
||||
</script>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue