DEV: Remove 6-yrs old deprecated loadScript opt (#17463)
This commit is contained in:
parent
ee07f6da7d
commit
32c4603dd5
|
@ -48,11 +48,6 @@ export function loadCSS(url) {
|
|||
}
|
||||
|
||||
export default function loadScript(url, opts = {}) {
|
||||
// TODO: Remove this once plugins have been updated not to use it:
|
||||
if (url === "defer/html-sanitizer-bundle") {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
if (_loaded[url]) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue