src/js/modules.js
author veltr
Thu, 19 Apr 2012 19:20:41 +0200
branchnew-model
changeset 872 d777d05a16e4
parent 866 3bf7aa8216e5
permissions -rw-r--r--
finished AnnotationsList and started New PolemicWidget

/* modules are non-graphical entities, similar to widgets */

// TODO: Unify widgets and modules

IriSP.Module = function(Popcorn, config, Serializer) {

  if (config === undefined || config === null) {
    config = {}
  }
  
  this._Popcorn = Popcorn;
  this._config = config;  
  this._serializer = Serializer;
};