diff -r 7e18d953a1f8 -r 392ddcd212d7 src/widgets/Title.js --- a/src/widgets/Title.js Mon Sep 30 14:39:34 2013 +0200 +++ b/src/widgets/Title.js Tue Oct 01 15:41:46 2013 +0200 @@ -1,12 +1,12 @@ IriSP.Widgets.Title = function(player, config) { IriSP.Widgets.Widget.call(this, player, config); -} +}; IriSP.Widgets.Title.prototype = new IriSP.Widgets.Widget(); IriSP.Widgets.Title.prototype.defaults = { media_title: false -} +}; IriSP.Widgets.Title.prototype.template = '

{{#media_title}}{{media.title}}{{/media_title}}{{^media_title}}{{source.title}}{{/media_title}}

'; @@ -14,4 +14,4 @@ IriSP.Widgets.Title.prototype.draw = function() { this.renderTemplate(); -} \ No newline at end of file +}; \ No newline at end of file