llm-mixer / commons /commons_loader.js
Hansimov's picture
:recycle: [Refactor] Separate InputsBinder and CommonsLoader from main.js
8d57073
raw
history blame
No virus
319 Bytes
export class CommonsLoader {
constructor() {}
load() {
load_live_js();
}
}
function load_live_js() {
if (window.location.protocol !== "https:") {
var script = document.createElement("script");
script.src = "./commons/live.js";
document.head.appendChild(script);
}
}