tests: refactor inclusion of jquery and sendkeys via script tags

Readability is increased by explicitly checking if jquery/sendkeys was
already loaded before evaluating it in the context of ace_inner and the
enclosing container (pad.html). Note that sendkeys is no longer
evaluated in the context of ace_outer, as this isn't needed

Also removes some IE 8/9 legacy code
This commit is contained in:
webzwo0i 2021-07-04 05:36:35 +02:00
parent 4ceb3ca4c8
commit 62093adce5
4 changed files with 51 additions and 44 deletions

View file

@ -16,6 +16,7 @@
<script src="../../static/js/require-kernel.js"></script>
<script src="../../static/js/vendors/jquery.js"></script>
<script src="lib/sendkeys.js"></script>
<script src="../../static/js/vendors/browser.js"></script>
<script src="../../static/plugins/js-cookie/src/js.cookie.js"></script>
<script src="lib/underscore.js"></script>