src/js/modules.js
author veltr
Wed, 18 Apr 2012 18:58:44 +0200
branchnew-model
changeset 870 2c025db10a10
parent 866 3bf7aa8216e5
permissions -rw-r--r--
Migrated playerWidget and started annotationsListWidget

/* 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;
};