src/js/modules.js
branchpopcorn-port
changeset 461 a9c5eeca190c
child 866 3bf7aa8216e5
equal deleted inserted replaced
460:7071ccbc315a 461:a9c5eeca190c
       
     1 /* modules are non-graphical entities, similar to widgets */
       
     2 
       
     3 IriSP.Module = function(Popcorn, config, Serializer) {
       
     4 
       
     5   if (config === undefined || config === null) {
       
     6     config = {}
       
     7   }
       
     8   
       
     9   this._Popcorn = Popcorn;
       
    10   this._config = config;  
       
    11   this._serializer = Serializer;
       
    12 };