Skip to content

Fix mode-rust.js load error #2617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/theme/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@
{{/if}}

{{#if playground_js}}
<script>const modeRustSrc = "{{ resource "mode-rust.js" }}";</script>
<script src="{{ resource "ace.js" }}"></script>
<script src="{{ resource "editor.js" }}"></script>
<script src="{{ resource "mode-rust.js" }}"></script>
<script src="{{ resource "theme-dawn.js" }}"></script>
<script src="{{ resource "theme-tomorrow_night.js" }}"></script>
{{/if}}
Expand Down
2 changes: 1 addition & 1 deletion src/theme/playground_editor/ace.js

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions tests/gui/move-between-pages.goml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
// This tests pressing the left and right arrows moving to previous and next page.

// We disable the requests checks because `mode-rust.js` is not found.
fail-on-request-error: false

go-to: |DOC_PATH| + "index.html"

// default page is the first numbered page
Expand Down