'use strict';

function addTab(tab) {
  setTimeout(() => {
    const evt = new CustomEvent("addCorejamMenuTab", {
      detail: { tab },
    });
    document.dispatchEvent(evt);
  }, 500);
}

function appGlobalScript () {
  addTab({
    header: "Dev",
    content: "corejam-dev-welcome",
    actions: ["fullscreen"],
  });
}

const globalScripts = appGlobalScript;

exports.globalScripts = globalScripts;
