mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
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:
parent
4ceb3ca4c8
commit
62093adce5
4 changed files with 51 additions and 44 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue