equal
deleted
inserted
replaced
9 IriSP.TweetsWidget.prototype = new IriSP.Widget(); |
9 IriSP.TweetsWidget.prototype = new IriSP.Widget(); |
10 |
10 |
11 IriSP.TweetsWidget.prototype.displayTweet = function(annotation) { |
11 IriSP.TweetsWidget.prototype.displayTweet = function(annotation) { |
12 |
12 |
13 var title = annotation.content.title; |
13 var title = annotation.content.title; |
14 var description = annotation.content.description; |
14 var imageMarkup = Mustache.to_html("<img src='{{src}}' alt='avatar'></img>", |
15 var keywords = "" // FIXME; |
15 {src : annotation.content.img.src}); |
16 var begin = +annotation.begin; |
16 this.selector.find(".Ldt-tweetContents").text(title); |
17 var end = +annotation.end; |
17 this.selector.find(".Ldt-tweetAvatar").html(imageMarkup); |
18 var duration = +this._serializer.currentMedia().meta["dc:duration"]; |
|
19 |
|
20 this.selector.find(".Ldt-tweetContents").text(title); |
|
21 }; |
18 }; |
22 |
19 |
23 IriSP.TweetsWidget.prototype.draw = function() { |
20 IriSP.TweetsWidget.prototype.draw = function() { |
24 var _this = this; |
21 var _this = this; |
25 |
22 |