--- a/web/res/metadataplayer/Polemic.js Thu Jun 14 16:05:27 2012 +0200
+++ b/web/res/metadataplayer/Polemic.js Wed Jun 20 18:46:56 2012 +0200
@@ -26,22 +26,18 @@
polemics : [
{
"keywords" : [ "++" ],
- "description" : "positif",
"color" : "#1D973D"
},
{
"keywords" : [ "--" ],
- "description" : "negatif",
"color" : "#CE0A15"
},
{
- "keywords" : [ "==" ],
- "description" : "reference",
+ "keywords" : [ "==", "http://" ],
"color" : "#C5A62D"
},
{
- "keywords" : [ "??" ],
- "description" : "question",
+ "keywords" : [ "?" ],
"color" : "#036AAE"
}
],
@@ -173,13 +169,13 @@
var _y = _this.height;
_slice.annotations.forEach(function(_annotation) {
_y -= _this.element_height;
- displayElement(_x, _y, _this.defaultcolor, _annotation.namespacedId.name, _annotation.title);
+ displayElement(_x, _y, _this.defaultcolor, _annotation.id, _annotation.title);
});
IriSP._(_slice.polemicStacks).forEach(function(_annotations, _j) {
var _color = _this.polemics[_j].color;
_annotations.forEach(function(_annotation) {
_y -= _this.element_height;
- displayElement(_x, _y, _color, _annotation.namespacedId.name, _annotation.title);
+ displayElement(_x, _y, _color, _annotation.id, _annotation.title);
});
});
_x += _this.element_width;