Sign in
gerrit
/
plugins
/
codemirror-editor
/
refs/tags/v3.8.0-rc0
/
.
/
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`
;
}