-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Everywhere: Run prettier on everything
This commit also brings in the prettierrc file from serenity proper.
- Loading branch information
Showing
12 changed files
with
1,342 additions
and
1,432 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"arrowParens": "avoid", | ||
"bracketSpacing": true, | ||
"endOfLine": "lf", | ||
"insertPragma": false, | ||
"printWidth": 100, | ||
"quoteProps": "as-needed", | ||
"semi": true, | ||
"singleQuote": false, | ||
"tabWidth": 4, | ||
"trailingComma": "es5", | ||
"useTabs": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,71 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>LibJS REPL</title> | ||
<link rel="shortcut icon" type="image/png" href="../favicon.png" /> | ||
<link rel="stylesheet" href="main.css" /> | ||
<link rel="stylesheet" href="../test262/main.css" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;700&display=swap" | ||
/> | ||
</head> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>LibJS REPL</title> | ||
<link rel="shortcut icon" type="image/png" href="../favicon.png" /> | ||
<link rel="stylesheet" href="main.css" /> | ||
<link rel="stylesheet" href="../test262/main.css" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;700&display=swap" | ||
/> | ||
</head> | ||
|
||
<body> | ||
<main> | ||
<h1>LibJS REPL<span id="header-description"></span></h1> | ||
<div id="main-content" style="display: none"> | ||
<small id="input-editor-tip">press 'ctrl+enter' to run</small> | ||
<small id="input-tip" style="display: none">press 'enter' to run</small> | ||
<div id="repl"> | ||
<div id="input"> | ||
<div id="input-textarea"> | ||
<textarea large id="input-textarea-editor"></textarea> | ||
<body> | ||
<main> | ||
<h1>LibJS REPL<span id="header-description"></span></h1> | ||
<div id="main-content" style="display: none"> | ||
<small id="input-editor-tip">press 'ctrl+enter' to run</small> | ||
<small id="input-tip" style="display: none">press 'enter' to run</small> | ||
<div id="repl"> | ||
<div id="input"> | ||
<div id="input-textarea"> | ||
<textarea large id="input-textarea-editor"></textarea> | ||
</div> | ||
</div> | ||
<button id="input-toggle" class="input-shown" title="Toggle input editor"> | ||
< | ||
</button> | ||
<button id="run">Run!</button> | ||
<div id="repl-window"> | ||
<div id="repl-contents"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<button | ||
id="input-toggle" | ||
class="input-shown" | ||
title="Toggle input editor" | ||
> | ||
< | ||
</button> | ||
<button id="run">Run!</button> | ||
<div id="repl-window"> | ||
<div id="repl-contents"></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="loading-content"> | ||
<span id="loading-text">Loading...</span> | ||
<progress id="loading-progress"></progress> | ||
</div> | ||
</main> | ||
<footer> | ||
Made by | ||
<a | ||
href="https://twitter.com/the_semicolon_" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
>CxByte</a | ||
>. | ||
</footer> | ||
<template id="repl-input-template"> | ||
<div class="repl-input-line"> | ||
<pre>></pre> | ||
<textarea></textarea> | ||
</div> | ||
</template> | ||
<template id="repl-static-input-template"> | ||
<div class="repl-input-line"> | ||
<pre>> </pre> | ||
<pre class="content"></pre> | ||
</div> | ||
</template> | ||
<template id="repl-output-template"> | ||
<div class="repl-output-line"> | ||
<pre></pre> | ||
</div> | ||
</template> | ||
<script src="https://unpkg.com/unfetch/polyfill"></script> | ||
<script src="https://serenityos.github.io/libjs-data/libjs.js"></script> | ||
<script src="repl.js"></script> | ||
<script src="main.js"></script> | ||
</body> | ||
<div id="loading-content"> | ||
<span id="loading-text">Loading...</span> | ||
<progress id="loading-progress"></progress> | ||
</div> | ||
</main> | ||
<footer> | ||
Made by | ||
<a href="https://twitter.com/the_semicolon_" target="_blank" rel="noopener noreferrer" | ||
>CxByte</a | ||
>. | ||
</footer> | ||
<template id="repl-input-template"> | ||
<div class="repl-input-line"> | ||
<pre>></pre> | ||
<textarea></textarea> | ||
</div> | ||
</template> | ||
<template id="repl-static-input-template"> | ||
<div class="repl-input-line"> | ||
<pre>> </pre> | ||
<pre class="content"></pre> | ||
</div> | ||
</template> | ||
<template id="repl-output-template"> | ||
<div class="repl-output-line"> | ||
<pre></pre> | ||
</div> | ||
</template> | ||
<script src="https://unpkg.com/unfetch/polyfill"></script> | ||
<script src="https://serenityos.github.io/libjs-data/libjs.js"></script> | ||
<script src="repl.js"></script> | ||
<script src="main.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.