src/js/modules.js
branchpopcorn-port
changeset 461 a9c5eeca190c
child 866 3bf7aa8216e5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/js/modules.js	Wed Dec 14 14:56:40 2011 +0100
@@ -0,0 +1,12 @@
+/* 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;
+};