comparison src/DML/MainVisBundle/Resources/assets/marionette/modules/ContextModule/ContextModule.02-ConfigCollection.js @ 0:493bcb69166c

added public content
author Daniel Wolff
date Tue, 09 Feb 2016 20:54:02 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:493bcb69166c
1 "use strict";
2
3 App.module("ContextModule", function(ContextModule, App, Backbone, Marionette, $, _, Logger) {
4
5 // Define private variables
6 var logger = null;
7
8 ContextModule.addInitializer(function(options){
9
10 //logger = Logger.get("ContextModule");
11 //logger.setLevel(Logger.DEBUG);
12
13 /**
14 * ConfigCollection is needed to store parameters of entities and views
15 */
16 ContextModule.ConfigCollection = Backbone.Collection.extend({
17 model: ContextModule.Config,
18
19 initialize: function(configs, options) {
20 this.configGridType = options.configGridType;
21 this.dimension = options.dimension;
22 }
23 });
24 });
25 }, Logger);