src/js/modules.js
author hamidouk
Wed, 25 Jan 2012 12:52:45 +0100
branchembed-playerapi-rewrite
changeset 705 83197a7a4281
parent 461 a9c5eeca190c
child 866 3bf7aa8216e5
permissions -rw-r--r--
add a switch case to use the allocine player.

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