src/js/modules.js
author ymh <ymh.work@gmail.com>
Fri, 06 Apr 2012 18:01:12 +0200
branchnih-youtube
changeset 849 85f06cc23bfd
parent 461 a9c5eeca190c
child 866 3bf7aa8216e5
permissions -rw-r--r--
close branch

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