src/js/modules.js
author hamidouk
Mon, 06 Feb 2012 11:37:48 +0100
branchslicewidget-redo
changeset 780 2ae03b1d2797
parent 461 a9c5eeca190c
child 866 3bf7aa8216e5
permissions -rw-r--r--
WIP - trying to redo the slicewidget with raphael's idea.

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