Mercurial > hg > dml-open-vis
diff src/DML/MainVisBundle/Resources/assets/marionette/modules/RepresentationModule/RepresentationModule.30-Master.view._unknown.js @ 0:493bcb69166c
added public content
author | Daniel Wolff |
---|---|
date | Tue, 09 Feb 2016 20:54:02 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/DML/MainVisBundle/Resources/assets/marionette/modules/RepresentationModule/RepresentationModule.30-Master.view._unknown.js Tue Feb 09 20:54:02 2016 +0100 @@ -0,0 +1,43 @@ +"use strict"; + +App.module("RepresentationModule", function(RepresentationModule, App, + Backbone, Marionette, $, _, Logger) { + + RepresentationModule.addInitializer(function(options) { + + RepresentationModule.registerMaster({ + id : "view._unknown", + inherit : "view._", + + options : { + visInstanceContentHeightMin : 20, + visInstanceContentHeightMax : 20, + }, + + defaultConfigParameterValues: { + widthToHeightRatio: undefined + }, + + + // ================================================================= + // config grid header + + _generateHeaderLabelSuffix : function(headerView) { + return " (unknown feature)"; + }, + + + // ================================================================= + // dynamic derived vis instance data + + + // ----------------------------------------------------------------- + // dynamic derived vis instance data - base + + _generateCustomParamsForBasePerspectiveRequestParams: function(viewConfig) { + return null; + }, + + }); + }); +}, Logger);