changed script extension
This commit is contained in:
parent
43d0694e70
commit
30a09a9865
2 changed files with 0 additions and 27 deletions
|
@ -1,18 +0,0 @@
|
||||||
export default class Base {
|
|
||||||
//--------------------------
|
|
||||||
// constructor
|
|
||||||
//--------------------------
|
|
||||||
constructor() {
|
|
||||||
this.start();
|
|
||||||
}
|
|
||||||
start() {
|
|
||||||
console.log('Connected like F.E.');
|
|
||||||
}
|
|
||||||
//--------------------------
|
|
||||||
// methods
|
|
||||||
//--------------------------
|
|
||||||
|
|
||||||
//--------------------------
|
|
||||||
// event handlers
|
|
||||||
//--------------------------
|
|
||||||
}
|
|
|
@ -1,9 +0,0 @@
|
||||||
import Base from './Base.mjs';
|
|
||||||
|
|
||||||
document.addEventListener(
|
|
||||||
'DOMContentLoaded',
|
|
||||||
function () {
|
|
||||||
var base = new Base();
|
|
||||||
},
|
|
||||||
false
|
|
||||||
);
|
|
Loading…
Reference in a new issue