src/js/modules.js
branchnew-model
changeset 882 61c384dda19e
parent 881 f11b234497f7
child 883 d35ad8111c5e
equal deleted inserted replaced
881:f11b234497f7 882:61c384dda19e
     1 /* modules are non-graphical entities, similar to widgets */
       
     2 
       
     3 // TODO: Unify widgets and modules
       
     4 
       
     5 IriSP.Module = function(Popcorn, config, Serializer) {
       
     6 
       
     7   if (config === undefined || config === null) {
       
     8     config = {}
       
     9   }
       
    10   
       
    11   this._Popcorn = Popcorn;
       
    12   this._config = config;  
       
    13   this._serializer = Serializer;
       
    14 };