src/js/modules.js
author veltr
Fri, 27 Apr 2012 19:18:21 +0200
branchnew-model
changeset 881 f11b234497f7
parent 866 3bf7aa8216e5
permissions -rw-r--r--
Finished Mediafragment

/* modules are non-graphical entities, similar to widgets */

// TODO: Unify widgets and modules

IriSP.Module = function(Popcorn, config, Serializer) {

  if (config === undefined || config === null) {
    config = {}
  }
  
  this._Popcorn = Popcorn;
  this._config = config;  
  this._serializer = Serializer;
};