src/widgets/Slideshare.js
changeset 1013 392ddcd212d7
parent 988 eefd336335f9
child 1072 ac1eacb3aa33
--- 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 =
     '<div class="Ldt-SlideShare"><h2>{{l10n.slides_}}</h2><hr /><div class="Ldt-SlideShare-Container"></div></div>';
@@ -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;
                 
-            })
-        })
+            });
+        });
     }
-}
+};