Mercurial > hg > dml-open-vis
view src/DML/MainVisBundle/Resources/assets/marionette/modules/RepresentationModule/RepresentationModule.31-Master.view.collection.midi-pitch-histogram.js @ 0:493bcb69166c
added public content
author | Daniel Wolff |
---|---|
date | Tue, 09 Feb 2016 20:54:02 +0100 |
parents | |
children |
line wrap: on
line source
"use strict"; App.module("RepresentationModule", function(RepresentationModule, App, Backbone, Marionette, $, _, Logger) { RepresentationModule.addInitializer(function(options){ RepresentationModule.registerMaster({ id: "view.collection.midi-pitch-histogram", inherit: "view.collection._histogram", defaultConfigParameterValues: { weighting: "none" }, // ================================================================= // vis instance rendering // ----------------------------------------------------------------- // vis instance rendering - base _generateCustomParamsForBasePerspectiveRequestParams: function(viewConfig) { var result = { "weighting": this.getConfigParameterValueOrDefaultValue(viewConfig, "weighting", true), }; return result; }, }); }); }, Logger);