src/js/modules.js
author veltr
Tue, 17 Apr 2012 15:03:40 +0200
branchnew-model
changeset 866 3bf7aa8216e5
parent 461 a9c5eeca190c
permissions -rw-r--r--
IriSP.Model.List now inherits from Array

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