src/js/modules.js
author hamidouk
Wed, 14 Dec 2011 16:37:04 +0100
branchpopcorn-port
changeset 462 3583ef3b208b
parent 461 a9c5eeca190c
child 866 3bf7aa8216e5
permissions -rw-r--r--
added a modules dir to the build. moved mediafragment.js module inside it.

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

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

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