example of array problem

This commit is contained in:
Sam Rang
2016-04-13 13:28:56 -05:00
parent 243b8ed24c
commit 6f0dc6d70f
4 changed files with 44 additions and 10 deletions

View File

@@ -5,6 +5,7 @@ abstract class ClassArray<T> extends Serializable<T> {
_fromJsObject(jsObjects: any): Serializable<T> {
for (let jsObject of jsObjects) {
this.elements.push(this.jsObjectToClass(jsObject));
console.log("Elements: " + this.elements);
}
return this;
}