import { Stear, SWindow } from "./stear/main.js"; import * as connect from "./connect.js"; import * as start from "./start.js"; var stear = new Stear(document.querySelector("#stear")); stear.style({ backgroundColor: "#dde", fontFamily: "Helvetica Neue", fontWeight: "lighter", fontSize: "0.9em", color: "#2a2a2a", }); stear.addElement("connect", new SWindow(connect)); stear.addElement("start", new SWindow(start)); stear.call(stear.g("start"), {}); setTimeout(()=>{ document.dispatchEvent(new Event("deviceready")); },10); window.s = stear;