clean up platform file load

This commit is contained in:
Stewart Allen 2024-06-30 23:15:03 -04:00
commit 903a0007d6
4 changed files with 57 additions and 79 deletions

View file

@ -34,7 +34,7 @@ function index() { return catalog().index }
class Widget {
constructor(id, group) {
this.id = id || new Date().getTime().toString(36)+(nextId++);
this.id = id || Date.now().toString(36)+(nextId++);
this.grouped = group ? true : false;
this.group = group || [];
this.group.push(this);