src/widgets/Polemic.js
branchnew-model
changeset 916 ec6849bbbdcc
parent 909 aa0e42229784
child 924 64c2eaafe5e2
equal deleted inserted replaced
915:ba7aab923d08 916:ec6849bbbdcc
   167             
   167             
   168             IriSP._(_slices).forEach(function(_slice) {
   168             IriSP._(_slices).forEach(function(_slice) {
   169                 var _y = _this.height;
   169                 var _y = _this.height;
   170                 _slice.annotations.forEach(function(_annotation) {
   170                 _slice.annotations.forEach(function(_annotation) {
   171                     _y -= _this.element_height;
   171                     _y -= _this.element_height;
   172                     displayElement(_x, _y, _this.defaultcolor, _annotation.namespacedId.name, _annotation.title);
   172                     displayElement(_x, _y, _this.defaultcolor, _annotation.id, _annotation.title);
   173                 });
   173                 });
   174                 IriSP._(_slice.polemicStacks).forEach(function(_annotations, _j) {
   174                 IriSP._(_slice.polemicStacks).forEach(function(_annotations, _j) {
   175                     var _color = _this.polemics[_j].color;
   175                     var _color = _this.polemics[_j].color;
   176                     _annotations.forEach(function(_annotation) {
   176                     _annotations.forEach(function(_annotation) {
   177                         _y -= _this.element_height;
   177                         _y -= _this.element_height;
   178                         displayElement(_x, _y, _color, _annotation.namespacedId.name, _annotation.title);
   178                         displayElement(_x, _y, _color, _annotation.id, _annotation.title);
   179                     });
   179                     });
   180                 });
   180                 });
   181                 _x += _this.element_width;
   181                 _x += _this.element_width;
   182             });
   182             });
   183             
   183