Sign in
gerrit
/
plugins
/
codemirror-editor
/
6be8c0c84fcc7fbcc77fad17fdbc5a2c29faef60
/
.
/
web
/
safe-script.ts
blob: ff115eb2116ae8a1ae6c649c5b24aa11cbb69696 [
file
] [
log
] [
blame
]
/**
* @license
* Copyright 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
export
function
setScriptSrc
(
el
:
HTMLScriptElement
,
pluginUrl
:
string
)
{
el
.
src
=
`${pluginUrl}static/codemirror_element.js`
;
}