This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
2020-11-01 22:46:04 +00:00

14 lines
315 B
Plaintext

import Textcomplete from "./textcomplete"
import Textarea from "./textarea"
let editors
if (global.Textcomplete && global.Textcomplete.editors) {
editors = global.Textcomplete.editors
} else {
editors = {}
}
editors.Textarea = Textarea
global.Textcomplete = Textcomplete
global.Textcomplete.editors = editors