add model groups, async font load, array addOnce
This commit is contained in:
parent
a1644ed609
commit
5506567ecf
8 changed files with 54 additions and 28 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue