mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
skiplist: Sanity check inserted entries
This commit is contained in:
parent
9e2ef6ad5b
commit
e2eb7327c2
4 changed files with 29 additions and 0 deletions
|
@ -159,6 +159,11 @@ $(() => {
|
|||
// get the list of specs and filter it if requested
|
||||
const specs = specs_list.slice();
|
||||
|
||||
const absUrl = (url) => new URL(url, window.location.href).href;
|
||||
require.setRootURI(absUrl('../../javascripts/src'));
|
||||
require.setLibraryURI(absUrl('../../javascripts/lib'));
|
||||
require.setGlobalKeyPath('require');
|
||||
|
||||
// inject spec scripts into the dom
|
||||
const $body = $('body');
|
||||
$.each(specs, (i, spec) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue