Daniel@0: "use strict"; Daniel@0: Daniel@0: App.module("RepresentationModule", function(RepresentationModule, App, Backbone, Marionette, $, _, Logger) { Daniel@0: Daniel@0: RepresentationModule.addInitializer(function(options){ Daniel@0: Daniel@0: RepresentationModule.registerMaster({ Daniel@0: id: "view.collection.midi-pitch-histogram", Daniel@0: inherit: "view.collection._histogram", Daniel@0: Daniel@0: defaultConfigParameterValues: { Daniel@0: weighting: "none" Daniel@0: }, Daniel@0: Daniel@0: Daniel@0: // ================================================================= Daniel@0: // vis instance rendering Daniel@0: Daniel@0: Daniel@0: // ----------------------------------------------------------------- Daniel@0: // vis instance rendering - base Daniel@0: Daniel@0: _generateCustomParamsForBasePerspectiveRequestParams: function(viewConfig) { Daniel@0: var result = { Daniel@0: "weighting": this.getConfigParameterValueOrDefaultValue(viewConfig, "weighting", true), Daniel@0: }; Daniel@0: return result; Daniel@0: }, Daniel@0: }); Daniel@0: }); Daniel@0: }, Logger);