From 25696078d9408ff8515745abf75ad9b220cd278a Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Thu, 23 Aug 2018 12:17:37 +0530 Subject: use consistent display of variables --- js/Events/freq_div.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'js/Events/freq_div.js') diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js index 29e107c4..1531f9e7 100644 --- a/js/Events/freq_div.js +++ b/js/Events/freq_div.js @@ -112,8 +112,8 @@ function freq_div() { } freq_div.prototype.get = function freq_div() { var options = { - %ph:["Phase (0 to division factor -1)",%ph], - %df:["Division factor",%df], + %ph:["Phase (0 to division factor -1)",this.%ph], + %df:["Division factor",this.%df], } return options; } @@ -136,8 +136,8 @@ function freq_div() { this.model = xx.model; while (true) { var ok = true; - %ph = parseFloat(arguments[0]["%ph"]); - %df = parseFloat(arguments[0]["%df"]); + this.%ph = parseFloat(arguments[0]["%ph"]); + this.%df = parseFloat(arguments[0]["%df"]); if (!ok) { break; } -- cgit