From 02a632660558a2e9b7273e059ba94d515bbe12e5 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Thu, 30 Apr 2020 23:20:56 +0200 Subject: [PATCH] fix method names in comments --- htdocs/lib/Demodulator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/Demodulator.js b/htdocs/lib/Demodulator.js index 09bdd0a..24448de 100644 --- a/htdocs/lib/Demodulator.js +++ b/htdocs/lib/Demodulator.js @@ -106,7 +106,7 @@ Envelope.prototype.drag_start = function(x, key_modifiers){ return this.dragged_range !== Demodulator.draggable_ranges.none; }; -Envelope.prototype.where_clicked = function(x, drag_ranges, key_modifiers) { // Check exactly what the user has clicked based on ranges returned by demod_envelope_draw(). +Envelope.prototype.where_clicked = function(x, drag_ranges, key_modifiers) { // Check exactly what the user has clicked based on ranges returned by envelope_draw(). var in_range = function (x, range) { return range.x1 <= x && range.x2 >= x; }; @@ -211,7 +211,7 @@ Demodulator.draggable_ranges = { anything_else: 3, bfo: 4 /*line (while holding shift)*/, pbs: 5 -}; //to which parameter these correspond in demod_envelope_draw() +}; //to which parameter these correspond in envelope_draw() Demodulator.color_index = 0; Demodulator.colors = ["#ffff00", "#00ff00", "#00ffff", "#058cff", "#ff9600", "#a1ff39", "#ff4e39", "#ff5dbd"];