Skip to content

Commit

Permalink
Use relative paths
Browse files Browse the repository at this point in the history
Signed-off-by: Anand Krishnamoorthi <[email protected]>
  • Loading branch information
anakrish committed Jan 25, 2024
1 parent 135fff1 commit 9063512
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 200 deletions.
2 changes: 1 addition & 1 deletion _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="http://localhost:4000/regorus/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/regorus/" rel="alternate" type="text/html" /><updated>2024-01-24T16:35:55-08:00</updated><id>http://localhost:4000/regorus/feed.xml</id><title type="html">Regorus Playground</title><subtitle>Run Regorus in a browser via WASM</subtitle></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="http://localhost:4000/regorus/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/regorus/" rel="alternate" type="text/html" /><updated>2024-01-24T16:48:53-08:00</updated><id>http://localhost:4000/regorus/feed.xml</id><title type="html">Regorus Playground</title><subtitle>Run Regorus in a browser via WASM</subtitle></feed>
12 changes: 6 additions & 6 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Regorus Playground</title>
<link rel="stylesheet" data-name="vs/editor/editor.main" href="http://localhost:4000/regorus/node_modules/monaco-editor/min/vs/editor/editor.main.css" />
<link rel="stylesheet" data-name="vs/editor/editor.main" href="/regorus/node_modules/monaco-editor/min/vs/editor/editor.main.css" />
</head>
<body>
<h2>Regorus Playground</h2>
Expand All @@ -19,16 +19,16 @@ <h2>Regorus Playground</h2>
<div id="rightPane" style="width:600px; height:600px; float:inline-start">
<div class="paneheader"> Input JSON</div>
<div id="input_container" style="height:300px;border: 1px solid grey"></div>
<button id="eval" stype="height:10px;padding:float:left">Eval</button>
<button id="eval" stype="height:10px;padding:float:left">Eval</button>
<pre id="results" style="height:300px; border: 1px solid grey"></pre>
</div>

<script>
var require = { paths: { vs: "http://localhost:4000/regorus/node_modules/monaco-editor/min/vs" } };
var require = { paths: { vs: "/regorus/node_modules/monaco-editor/min/vs" } };
</script>
<script src="http://localhost:4000/regorus/node_modules/monaco-editor/min/vs/loader.js"></script>
<script src="http://localhost:4000/regorus/node_modules/monaco-editor/min/vs/editor/editor.main.nls.js"></script>
<script src="http://localhost:4000/regorus/node_modules/monaco-editor/min/vs/editor/editor.main.js"></script>
<script src="/regorus/node_modules/monaco-editor/min/vs/loader.js"></script>
<script src="/regorus/node_modules/monaco-editor/min/vs/editor/editor.main.nls.js"></script>
<script src="/regorus/node_modules/monaco-editor/min/vs/editor/editor.main.js"></script>

<script type="module">

Expand Down
188 changes: 0 additions & 188 deletions _site/indexold.html

This file was deleted.

10 changes: 5 additions & 5 deletions index.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: home
<link
rel="stylesheet"
data-name="vs/editor/editor.main"
href="{{'node_modules/monaco-editor/min/vs/editor/editor.main.css'|absolute_url}}"
href="{{'node_modules/monaco-editor/min/vs/editor/editor.main.css'|relative_url}}"
/>
</head>
<body>
Expand All @@ -35,11 +35,11 @@ href="{{'node_modules/monaco-editor/min/vs/editor/editor.main.css'|absolute_url}
</div>

<script>
var require = { paths: { vs: "{{'node_modules/monaco-editor/min/vs'|absolute_url}}" } };
var require = { paths: { vs: "{{'node_modules/monaco-editor/min/vs'|relative_url}}" } };
</script>
<script src="{{'node_modules/monaco-editor/min/vs/loader.js'|absolute_url}}"></script>
<script src="{{'node_modules/monaco-editor/min/vs/editor/editor.main.nls.js'|absolute_url}}"></script>
<script src="{{'node_modules/monaco-editor/min/vs/editor/editor.main.js'|absolute_url}}"></script>
<script src="{{'node_modules/monaco-editor/min/vs/loader.js'|relative_url}}"></script>
<script src="{{'node_modules/monaco-editor/min/vs/editor/editor.main.nls.js'|relative_url}}"></script>
<script src="{{'node_modules/monaco-editor/min/vs/editor/editor.main.js'|relative_url}}"></script>

<script type="module">

Expand Down

0 comments on commit 9063512

Please sign in to comment.