@@ -64,7 +64,7 @@ Composition.prototype.getCompositionByCode = function(code, gljType = 0) {
return result;
}
if (gljType === 0) {
- return this.datas[code];
+ return this.datas[code] !== undefined ? this.datas[code] : result;
for(let composition of this.datas[code]) {