src/js/modules.js
author hamidouk
Thu, 22 Dec 2011 16:06:45 +0100
branchcalage-segmentsWidget
changeset 511 81eb8e686456
parent 461 a9c5eeca190c
child 866 3bf7aa8216e5
permissions -rw-r--r--
added underscore.js to the build.

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