src/js/modules.js
author veltr
Fri, 06 Apr 2012 19:00:00 +0200
changeset 852 eefb64f74a3f
parent 461 a9c5eeca190c
child 866 3bf7aa8216e5
permissions -rw-r--r--
Cinecast bugfixes
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
};