add model groups, async font load, array addOnce

This commit is contained in:
Stewart Allen 2021-12-29 23:52:48 -05:00
commit 5506567ecf
8 changed files with 54 additions and 28 deletions

View file

@ -67,6 +67,13 @@
return this;
};
AP.addOnce = function(val) {
if (!this.contains(val)) {
this.push(val);
}
return this;
};
/**
* shallow cloning with clone(arg) call on each new element
*