Unclobber global.Bokeh to avoid initialization failure
@@ -43,7 +43,8 @@ export function prelude(): string {
${comment(license)}
(function(root, factory) {
const bokeh = factory();
- if (root.Bokeh === undefined) {
+ bokeh.__bokeh__ = true;
+ if (typeof root.Bokeh === "undefined" || typeof root.Bokeh.__bokeh__ === "undefined") {
root.Bokeh = bokeh;
}
const Bokeh = root.Bokeh;
