equal
deleted
inserted
replaced
98 |
98 |
99 IriSP.Widgets.Widget.prototype.bindPopcorn = function(_popcornEvent, _functionName) { |
99 IriSP.Widgets.Widget.prototype.bindPopcorn = function(_popcornEvent, _functionName) { |
100 this.player.popcorn.listen(_popcornEvent, this.functionWrapper(_functionName)) |
100 this.player.popcorn.listen(_popcornEvent, this.functionWrapper(_functionName)) |
101 } |
101 } |
102 |
102 |
|
103 IriSP.Widgets.Widget.prototype.getWidgetAnnotations = function() { |
|
104 return typeof this.annotation_type !== "undefined" && this.annotation_type ? this.source.getAnnotationsByTypeTitle(this.annotation_type) : this.source.getAnnotations(); |
|
105 } |
|
106 |
103 /** |
107 /** |
104 * This method responsible of drawing a widget on screen. |
108 * This method responsible of drawing a widget on screen. |
105 */ |
109 */ |
106 IriSP.Widgets.Widget.prototype.draw = function() { |
110 IriSP.Widgets.Widget.prototype.draw = function() { |
107 /* implemented by "sub-classes" */ |
111 /* implemented by "sub-classes" */ |