fix to the PlayerWidget constructor. popcorn-port
authorhamidouk
Fri, 21 Oct 2011 11:19:42 +0200
branchpopcorn-port
changeset 109 be17a396d68b
parent 108 62da43e72e30
child 110 048125f1a167
fix to the PlayerWidget constructor.
src/js/widgets/playerWidget.js
--- a/src/js/widgets/playerWidget.js	Thu Oct 20 15:59:28 2011 +0200
+++ b/src/js/widgets/playerWidget.js	Fri Oct 21 11:19:42 2011 +0200
@@ -1,5 +1,7 @@
-IriSP.PlayerWidget.prototype = new IriSP.Widget;
-
+IriSP.PlayerWidget = function(Popcorn, config, Serializer) {
+  IriSP.Widget.call(this, Popcorn, config, Serializer);
+  
+};
 IriSP.PlayerWidget.prototype.draw = function() {
   var _this = this;
   var width = this._config.gui.width;