src/js/widgets/playerWidget.js
branchpopcorn-port
changeset 109 be17a396d68b
parent 98 ed4ac18baf07
child 115 464e3e892915
--- 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;