js-api-loader icon indicating copy to clipboard operation
js-api-loader copied to clipboard

deleteScript should be private

Open jpoehnelt opened this issue 4 years ago • 3 comments

I am not aware of a valid use for deleteScript. It should be removed from the public class interface.

jpoehnelt avatar Mar 16 '21 20:03 jpoehnelt

I disagree, we use it to unload the script on language change and load it back in with a new language.

martijnmelchers avatar Sep 28 '21 09:09 martijnmelchers

I disagree, we use it to unload the script on language change and load it back in with a new language.

FWIW, the API does not officially support doing that.

chrisjshull avatar May 26 '23 00:05 chrisjshull