Split out Architype class from loading code

This commit is contained in:
Ian Gulliver
2019-07-14 18:37:45 +00:00
parent feb33b9922
commit 89130382b4
3 changed files with 11 additions and 11 deletions

View File

@@ -1,9 +1,3 @@
'use strict';
addEventListener('error', (e) => {
console.log(e);
});
class Architype {
constructor(container) {
this.container_ = container;
@@ -295,7 +289,3 @@ class Architype {
<!--# include file="Editor.js" -->
<!--# include file="Grid.js" -->
<!--# include file="IdSource.js" -->
<!--# include file="utils.js" -->
new Architype(document.getElementById('architype'));