diff -r 7e18d953a1f8 -r 392ddcd212d7 src/widgets/Slideshare.js --- a/src/widgets/Slideshare.js Mon Sep 30 14:39:34 2013 +0200 +++ b/src/widgets/Slideshare.js Tue Oct 01 15:41:46 2013 +0200 @@ -2,14 +2,14 @@ IriSP.Widgets.Slideshare = function(player, config) { IriSP.Widgets.Widget.call(this, player, config); -} +}; IriSP.Widgets.Slideshare.prototype = new IriSP.Widgets.Widget(); IriSP.Widgets.Slideshare.prototype.defaults = { annotation_type: "slide", sync: true, -} +}; IriSP.Widgets.Slideshare.prototype.messages = { fr: { @@ -18,7 +18,7 @@ en: { slides_ : "Slides" } -} +}; IriSP.Widgets.Slideshare.prototype.template = '

{{l10n.slides_}}


'; @@ -35,7 +35,7 @@ var _id = IriSP.Model.getUID(), _params = { allowScriptAccess: "always" - } + }, _atts = { id: _id }, @@ -69,7 +69,7 @@ _embedObject = null, _oembedCache = {}, _lastEmbedded = "", - _this = this + _this = this, $container = this.$.find(".Ldt-SlideShare-Container"); this.embed_width = this.embed_width || $container.innerWidth(); @@ -111,7 +111,7 @@ } _lastPres = _presentation; - }) - }) + }); + }); } -} +};