src/js/widgets/polemicWidget.js
branchpopcorn-port
changeset 379 9ec3b6858454
parent 357 6edf399cfa26
child 395 5766e8238aaf
equal deleted inserted replaced
378:110311d59b2f 379:9ec3b6858454
    33   this.tweets  = new Array();
    33   this.tweets  = new Array();
    34   this.svgElements = new Array();
    34   this.svgElements = new Array();
    35   
    35   
    36   // Make and define the Raphael area
    36   // Make and define the Raphael area
    37   this.paper = Raphael(document.getElementById(this._id), config.width, config.height);
    37   this.paper = Raphael(document.getElementById(this._id), config.width, config.height);
    38   console.log(config.height);
       
    39 };
    38 };
    40 
    39 
    41 IriSP.PolemicWidget.prototype = new IriSP.Widget();
    40 IriSP.PolemicWidget.prototype = new IriSP.Widget();
    42   
    41   
    43 IriSP.PolemicWidget.prototype.draw = function() {
    42 IriSP.PolemicWidget.prototype.draw = function() {