makecode-core
Version:
MakeCode (PXT) - web-cached build tool
15 lines • 363 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.host = exports.setHost = void 0;
let host_;
function setHost(newHost) {
host_ = newHost;
}
exports.setHost = setHost;
function host() {
if (!host)
throw new Error("setHost() not called!");
return host_;
}
exports.host = host;
//# sourceMappingURL=host.js.map