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: "entity._default", Daniel@0: inherit: "entity._", Daniel@0: Daniel@0: Daniel@0: // ================================================================= Daniel@0: // vis instance rendering Daniel@0: Daniel@0: Daniel@0: // ----------------------------------------------------------------- Daniel@0: // debug mode Daniel@0: Daniel@0: _mapDerivedVisInstanceDataAttributesToDebugAPIQueryBoxes: function (viewMaster) { Daniel@0: if (viewMaster.options.overlayPerspectiveId) { Daniel@0: return [["top", "base", "apiRequestURI", "apiResponse"], Daniel@0: ["bottom", "overlay", "apiRequestURI", "apiResponse"]]; Daniel@0: } else { Daniel@0: return [["everywhere", "base", "apiRequestURI", "apiResponse"]]; Daniel@0: } Daniel@0: } Daniel@0: }); Daniel@0: }); Daniel@0: }, Logger);