clean up platform file load
This commit is contained in:
parent
7f4a6723ff
commit
903a0007d6
4 changed files with 57 additions and 79 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue