using js modules

This commit is contained in:
Devaev Maxim
2019-07-13 06:38:55 +03:00
parent ad97aecaf4
commit 98468bfa30
20 changed files with 104 additions and 70 deletions

View File

@@ -20,7 +20,10 @@
*****************************************************************************/
function main() {
import {$} from "../tools.js";
export function main() {
let host = window.location.hostname;
let site = window.location.protocol + "//" + window.location.host;
$("ipmi-text").innerHTML = `