Skip to content

Commit

Permalink
chore: update Ace and load RTL support plugin (hedyorg#769)
Browse files Browse the repository at this point in the history
No visible changes yet, but you can see the effect by going into
the JavaScript console (Cmd-Shift-I) and typing:

```js
editor.setOption('rtl', true);
```
  • Loading branch information
rix0rrr authored Sep 16, 2021
1 parent 450ce07 commit 0bed783
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion static/vendor/ace.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions static/vendor/ext-rtl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions templates/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% endblock %}
{% block scripts %}
<script src="{{static('/vendor/ace.js')}}" type="text/javascript" charset="utf-8" crossorigin="anonymous"></script>
<script src="{{static('/vendor/ext-rtl.js')}}" type="text/javascript" charset="utf-8" crossorigin="anonymous"></script>
<script src="/client_messages.js?lang={{ lang }}" type="text/javascript" crossorigin="anonymous"></script>
<script>window.State = {lang: "{{ lang }}", level: "{{ level }}"}</script>
<script src="{{static('/js/app.js')}}" type="text/javascript" crossorigin="anonymous"></script>
Expand Down
1 change: 1 addition & 0 deletions templates/code-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ <h2>{{ commands_title }}</h2>

{% block scripts %}
<script src="{{static('/vendor/ace.js')}}" type="text/javascript" charset="utf-8" crossorigin="anonymous"></script>
<script src="{{static('/vendor/ext-rtl.js')}}" type="text/javascript" charset="utf-8" crossorigin="anonymous"></script>
<script src="/client_messages.js?lang={{ lang }}" type="text/javascript" crossorigin="anonymous"></script>
<script>
window.State = {};
Expand Down
1 change: 1 addition & 0 deletions templates/view-program-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ <h1>{{loaded_program.name}}</h1>
<script src="/client_messages.js?lang={{ lang }}" type="text/javascript" crossorigin="anonymous"></script>
<script src="{{static('/vendor/jquery.min.js')}}" type="text/javascript" crossorigin="anonymous"></script>
<script src="{{static('/vendor/ace.js')}}" type="text/javascript" charset="utf-8" crossorigin="anonymous"></script>
<script src="{{static('/vendor/ext-rtl.js')}}" type="text/javascript" charset="utf-8" crossorigin="anonymous"></script>
<script src="{{static('/vendor/skulpt.min.js')}}" type="text/javascript" crossorigin="anonymous"></script>
<script src="{{static('/vendor/skulpt-stdlib.js')}}" type="text/javascript" crossorigin="anonymous"></script>
<script>
Expand Down

0 comments on commit 0bed783

Please sign in to comment.