| author | veltr |
| Mon, 23 Apr 2012 19:11:08 +0200 | |
| branch | new-model |
| changeset 875 | 43629caa77bc |
| parent 866 | 3bf7aa8216e5 |
| permissions | -rw-r--r-- |
| 461 | 1 |
/* modules are non-graphical entities, similar to widgets */ |
2 |
||
| 866 | 3 |
// TODO: Unify widgets and modules |
4 |
||
| 461 | 5 |
IriSP.Module = function(Popcorn, config, Serializer) { |
6 |
||
7 |
if (config === undefined || config === null) { |
|
8 |
config = {} |
|
9 |
} |
|
10 |
|
|
11 |
this._Popcorn = Popcorn; |
|
12 |
this._config = config; |
|
13 |
this._serializer = Serializer; |
|
14 |
}; |