src/js/modules.js
author hamidouk
Mon, 02 Jan 2012 11:46:55 +0100
branchpopcorn-port
changeset 558 29a370694c53
parent 461 a9c5eeca190c
child 866 3bf7aa8216e5
permissions -rw-r--r--
delete type variable which seemed to sometimes (but not always) confuse the jwplayer, resulting in "file is not a valid media provider" errors.

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