From 758e688db1204a818c3be4916d9d808e8fc26874 Mon Sep 17 00:00:00 2001 From: Nuwan Date: Wed, 2 Aug 2023 08:57:59 +0530 Subject: [PATCH] remove debug entries and cleanup --- .../stores/ConfigureTracksStore.js.coffee | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/web/app/assets/javascripts/react-components/stores/ConfigureTracksStore.js.coffee b/web/app/assets/javascripts/react-components/stores/ConfigureTracksStore.js.coffee index ff381707b..e269efb3d 100644 --- a/web/app/assets/javascripts/react-components/stores/ConfigureTracksStore.js.coffee +++ b/web/app/assets/javascripts/react-components/stores/ConfigureTracksStore.js.coffee @@ -417,7 +417,6 @@ void removeSearchPath(int typeId, QString pathToRemove); # @removeMidiTrack() injectMidiToTrackAssignments: `async function() { - console.log('_DEBUG_ injectMidiToTrackAssignments vstTrackAssignments', this.vstTrackAssignments) if (this.vstTrackAssignments != null) { //(async () => { for (let vst of Array.from(this.vstTrackAssignments.vsts)) { @@ -433,7 +432,6 @@ void removeSearchPath(int typeId, QString pathToRemove); midi = [{assignment: MIDI_TRACK}]; midi.instrument_id = instrument_id; midi.assignment = MIDI_TRACK; - console.log('_DEBUG_ injectMidiToTrackAssignments midi', midi) this.trackAssignments.inputs.assigned.push(midi); } } @@ -446,11 +444,8 @@ void removeSearchPath(int typeId, QString pathToRemove); } }` - #TODO: make asyncronus # changed: () -> - # console.log('_DEBUG_ before injectMidiToTrackAssignments') # @injectMidiToTrackAssignments() - # console.log('_DEBUG_ after injectMidiToTrackAssignments') # @editingTrack = [] # @editingTrack.assignment = @trackNumber @@ -495,16 +490,12 @@ void removeSearchPath(int typeId, QString pathToRemove); # trackType: @trackType, # scanPaths: @scanPaths # } - # console.log('_DEBUG_ changed @item', @item) # @trigger(@item) changed: `async function() { let inputsForTrack, vst; - console.log('_DEBUG_ before injectMidiToTrackAssignments'); - console.trace() await this.injectMidiToTrackAssignments(); - console.log('_DEBUG_ after injectMidiToTrackAssignments'); this.editingTrack = []; this.editingTrack.assignment = this.trackNumber; @@ -557,7 +548,6 @@ void removeSearchPath(int typeId, QString pathToRemove); trackType: this.trackType, scanPaths: this.scanPaths }; - console.log('_DEBUG_ changed @item', this.item); this.trigger(this.item); }` @@ -1119,4 +1109,4 @@ void removeSearchPath(int typeId, QString pathToRemove); }` } -) +) \ No newline at end of file