src/js/modules.js
author cavaliet
Wed, 18 Apr 2012 13:37:00 +0200
changeset 869 faae5df935de
parent 461 a9c5eeca190c
child 866 3bf7aa8216e5
permissions -rw-r--r--
update slide share widget with flash embed and js slide number control.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
461
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
     1
/* modules are non-graphical entities, similar to widgets */
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
     2
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
     3
IriSP.Module = function(Popcorn, config, Serializer) {
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
     4
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
     5
  if (config === undefined || config === null) {
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
     6
    config = {}
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
     7
  }
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
     8
  
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
     9
  this._Popcorn = Popcorn;
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
    10
  this._config = config;  
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
    11
  this._serializer = Serializer;
a9c5eeca190c added modules and tbe tests to test them.
hamidouk
parents:
diff changeset
    12
};