Skip to content

Commit

Permalink
Demo: Comparison msg
Browse files Browse the repository at this point in the history
  • Loading branch information
slevithan committed Nov 8, 2024
1 parent 8a5a19d commit d5c96a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions demo/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ html, body {height: 100%}

body {
font-family: Calibri, "Helvetica Neue", sans-serif;
color: #000;
background-color: #c9e4ff;
background: repeating-linear-gradient(45deg, #d6ebff, #d6ebff 3px, #c9e4ff 3px, #c9e4ff 10px);
}
Expand Down Expand Up @@ -202,4 +203,9 @@ pre, code, kbd, textarea {

.info {
font-size: 0.9em;
color: #333;
}

.info code {
background-color: #f3f3f3;
}
2 changes: 1 addition & 1 deletion demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function showTranspiled() {
str += ` Can't emulate for ${listDifferents(withError)}.`;
}
if (withDiff.length) {
str += ` Emulation uses different details for ${listDifferents(withDiff)}.`;
str += ` Emulation ${details.error ? 'is possible' : 'uses different details'} for ${listDifferents(withDiff)}.`;
}
ui.alternateInfo.innerHTML = str;
} else {
Expand Down

0 comments on commit d5c96a7

Please sign in to comment.