changed js file extensions

This commit is contained in:
Are0h 2021-04-27 01:34:29 +00:00
parent dc8f485c45
commit 43d0694e70
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,18 @@
export default class Base {
//--------------------------
// constructor
//--------------------------
constructor() {
this.start();
}
start() {
console.log('Connected like F.E.');
}
//--------------------------
// methods
//--------------------------
//--------------------------
// event handlers
//--------------------------
}

View file

@ -0,0 +1,9 @@
import Base from "./Base.js";
document.addEventListener(
"DOMContentLoaded",
function () {
var base = new Base();
},
false
);