Skip to content

Commit

Permalink
Added to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-mcdaniel committed Dec 27, 2023
1 parent b173e7e commit 6dd220b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/sage/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3136,7 +3136,7 @@
context.arc(x, y, radius, 0, 2 * Math.PI);
context.fill();
}
\`);} catch { alert(\\\"Could not create canvas on parent web-page: Disable the \\\\\\\"same-origin\\\\\\\" policy to fix this! (only affects this example)\\\"); }\");
\`);} catch { alert(\\\"Could not create canvas on parent web-page from the embedded compiler: Disable the \\\\\\\"same-origin\\\\\\\" policy to fix this! (only affects this example)\\\"); }\");
eval(&mut buf, 2048);
return {
Expand Down Expand Up @@ -3507,8 +3507,8 @@
<option value="hashmap">HashMap (Generics)</option>
<option value="list">Linked List (Generics)</option>
<option value="string">String</option>
<option value="graphics">Canvas Graphics (JavaScript FFI)</option>
<option value="ffi">Simple FFI Example (JavaScript FFI)</option>
<option value="graphics">Canvas Graphics (JavaScript FFI)</option>
<option value="structural-types">Structural Typing Demo</option>
<option value="calculator">Calculator (Parser)</option>
<option value="hex-editor">Hex Editor</option>
Expand Down
2 changes: 1 addition & 1 deletion examples/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3136,7 +3136,7 @@
context.arc(x, y, radius, 0, 2 * Math.PI);
context.fill();
}
\`);} catch { alert(\\\"Could not create canvas on parent web-page: Disable the \\\\\\\"same-origin\\\\\\\" policy to fix this! (only affects this example)\\\"); }\");
\`);} catch { alert(\\\"Could not create canvas on parent web-page from the embedded compiler: Disable the \\\\\\\"same-origin\\\\\\\" policy to fix this! (only affects this example)\\\"); }\");
eval(&mut buf, 2048);
return {
Expand Down

0 comments on commit 6dd220b

Please sign in to comment.