src/js/pop.js
branchpopcorn-port
changeset 785 980163a156d1
parent 750 a1a3d09de1f4
child 839 4357aac4eb19
equal deleted inserted replaced
784:2ce658b19b96 785:980163a156d1
    25   this.container = container.slice(1); //eschew the '#'
    25   this.container = container.slice(1); //eschew the '#'
    26   
    26   
    27   this.msgPump = {}; /* dictionnary used to receive and send messages */
    27   this.msgPump = {}; /* dictionnary used to receive and send messages */
    28   this.__codes = []; /* used to schedule the execution of a piece of code in 
    28   this.__codes = []; /* used to schedule the execution of a piece of code in 
    29                         a segment (similar to the popcorn.code plugin). */
    29                         a segment (similar to the popcorn.code plugin). */
       
    30   
       
    31   this._options = options;
    30                           
    32                           
    31 };
    33 };
    32 
    34 
    33 IriSP.PopcornReplacement.player.prototype.listen = function(msg, callback) {
    35 IriSP.PopcornReplacement.player.prototype.listen = function(msg, callback) {
    34   if (!this.msgPump.hasOwnProperty(msg))
    36   if (!this.msgPump.hasOwnProperty(msg))