src/js/widgets/annotationsListWidget.js
branchpopcorn-port
changeset 595 29d86e6c61a6
parent 588 78cf49152d4a
child 599 a5a5e70d46a7
equal deleted inserted replaced
594:96af41097260 595:29d86e6c61a6
    12 };
    12 };
    13 
    13 
    14 IriSP.AnnotationsListWidget.prototype.draw = function() {
    14 IriSP.AnnotationsListWidget.prototype.draw = function() {
    15   var _this = this;
    15   var _this = this;
    16 
    16 
    17   var view_type = this._serializer.getNonTweetIds()[0];
    17   var view_type = this._serializer.getContributions();
    18   var annotations = this._serializer._data.annotations;
    18   var annotations = this._serializer._data.annotations;
    19   var list = [];
    19   var list = [];
    20 
    20 
    21   if (typeof(view_type) === "undefined") {
    21   if (typeof(view_type) === "undefined") {
    22     console.log("not type suitable for display");
    22     console.log("not type suitable for display");