mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
making more changes, still broken
This commit is contained in:
parent
aad7f679a7
commit
cc040cc733
3 changed files with 53 additions and 18 deletions
|
@ -9,10 +9,13 @@ var helper = {};
|
|||
// make sure we don't override existing jquery
|
||||
jsLibraries.jquery = `if(typeof $ === 'undefined') {\n${code}\n}`;
|
||||
|
||||
$.get('/tests/frontend/lib/sendkeys.js').done((code) => {
|
||||
jsLibraries.sendkeys = code;
|
||||
$.get('/tests/frontend/lib/bililiteRange.js').done((code) => {
|
||||
jsLibraries.bililiteRange = code;
|
||||
|
||||
cb();
|
||||
$.get('/tests/frontend/lib/jquery.sendkeys.js').done((code) => {
|
||||
jsLibraries.sendkeys = code;
|
||||
cb();
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
@ -41,6 +44,7 @@ var helper = {};
|
|||
win.execScript && win.execScript('null');
|
||||
|
||||
win.eval(jsLibraries.jquery);
|
||||
win.eval(jsLibraries.bililiteRange);
|
||||
win.eval(jsLibraries.sendkeys);
|
||||
|
||||
win.$.window = win;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue