summaryrefslogtreecommitdiff
path: root/js/Sources/CURVE_c.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/CURVE_c.js')
-rw-r--r--js/Sources/CURVE_c.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/Sources/CURVE_c.js b/js/Sources/CURVE_c.js
index 4e040c1c..c80502c7 100644
--- a/js/Sources/CURVE_c.js
+++ b/js/Sources/CURVE_c.js
@@ -37,18 +37,18 @@ function CURVE_c() {
return options;
}
CURVE_c.prototype.set = function CURVE_c() {
- this.Method = parseFloat(arguments[0]["Method"])
- this.xx = inverse(arguments[0]["xx"])
- this.yy = inverse(arguments[0]["yy"])
- this.PeriodicOption = arguments[0]["PeriodicOption"]
- this.graf = arguments[0]["graf"]
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
var ok = false;
var SaveExit = false;
while (true) {
var Ask_again = false;
- [ok,this.Method,this.xx,this.yy,this.PeriodicOption,this.graf,this.exprs] = scicos_getvalue("Spline data",["Spline Method (0..7)","x","y","Periodic signal(y/n)?","Launch graphic window(y/n)?"],list("vec",1,"vec",-1,"vec",-1,"str",1,"str",1),this.exprs);
+ var ok = true;
+ this.Method = parseFloat(arguments[0]["Method"]);
+ this.xx = inverse(arguments[0]["xx"]);
+ this.yy = inverse(arguments[0]["yy"]);
+ this.PeriodicOption = arguments[0]["PeriodicOption"];
+ this.graf = arguments[0]["graf"];
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}