src/js/model.js
changeset 1010 5566738cb829
parent 1002 a86208b60c91
child 1013 392ddcd212d7
equal deleted inserted replaced
1009:ddbe31de8ad1 1010:5566738cb829
  1008         return this.directory.getGlobalList().filter(function(_e) {
  1008         return this.directory.getGlobalList().filter(function(_e) {
  1009             return (_e.elementType === _listId);
  1009             return (_e.elementType === _listId);
  1010         });
  1010         });
  1011     } else {
  1011     } else {
  1012         if (typeof this.contents[_listId] === "undefined") {
  1012         if (typeof this.contents[_listId] === "undefined") {
  1013             this.contents[_listId] = new IriSP.List(this.directory);
  1013             this.contents[_listId] = new List(this.directory);
  1014         }
  1014         }
  1015         return this.contents[_listId];
  1015         return this.contents[_listId];
  1016     }
  1016     }
  1017 };
  1017 };
  1018 
  1018