src/js/modules.js
author hamidouk
Fri, 03 Feb 2012 17:07:42 +0100
branchpopcorn-port
changeset 778 8329f476d852
parent 461 a9c5eeca190c
child 866 3bf7aa8216e5
permissions -rw-r--r--
clicking on the annotate button when the annotation creation widget is opened starts the creation of a new annotation.

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