src/js/widgets/annotationsListWidget.js
branchpopcorn-port
changeset 621 170a8cd859d5
parent 615 7eb41c26a8b7
child 629 b13bcfd2f9b1
equal deleted inserted replaced
620:fe981f0aab71 621:170a8cd859d5
    21   var annotations = this._serializer._data.annotations;
    21   var annotations = this._serializer._data.annotations;
    22   var currentTime = this._Popcorn.currentTime();
    22   var currentTime = this._Popcorn.currentTime();
    23     
    23     
    24   var list = [];
    24   var list = [];
    25 
    25 
    26   if (typeof(view_type) === "undefined") {
    26   if (typeof(view_type) === "undefined") {    
    27     console.log("no type suitable for display");
       
    28     return;
    27     return;
    29   }
    28   }
    30 
    29 
    31   for (i = 0; i < annotations.length; i++) {
    30   for (i = 0; i < annotations.length; i++) {
    32     var annotation = annotations[i];
    31     var annotation = annotations[i];