[rkward-cvs] SF.net SVN: rkward:[4457] trunk/rkward/rkward/plugins
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Tue Nov 27 13:44:47 UTC 2012
Revision: 4457
http://rkward.svn.sourceforge.net/rkward/?rev=4457&view=rev
Author: tfry
Date: 2012-11-27 13:44:47 +0000 (Tue, 27 Nov 2012)
Log Message:
-----------
Fix problematic idioms around boolean properties. This is in preparation for upcoming commit.
Modified Paths:
--------------
trunk/rkward/rkward/plugins/00saveload/import/source.xml
trunk/rkward/rkward/plugins/data/sort.js
trunk/rkward/rkward/plugins/plots/plot_options.js
trunk/rkward/rkward/plugins/plots/scatterplot.js
Modified: trunk/rkward/rkward/plugins/00saveload/import/source.xml
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/import/source.xml 2012-11-27 13:20:20 UTC (rev 4456)
+++ trunk/rkward/rkward/plugins/00saveload/import/source.xml 2012-11-27 13:44:47 UTC (rev 4457)
@@ -4,8 +4,7 @@
<help file="source.rkh"/>
<logic>
- <convert id="global_env" mode="equals" sources="local.state" standard="FALSE"/>
- <connect client="run_global_warning.visible" governor="global_env"/>
+ <connect client="run_global_warning.visible" governor="local.state.not"/>
<connect client="maxdeparselength.enabled" governor="echo.state" />
<connect client="promptecho.enabled" governor="echo.state" />
Modified: trunk/rkward/rkward/plugins/data/sort.js
===================================================================
--- trunk/rkward/rkward/plugins/data/sort.js 2012-11-27 13:20:20 UTC (rev 4456)
+++ trunk/rkward/rkward/plugins/data/sort.js 2012-11-27 13:44:47 UTC (rev 4457)
@@ -1,6 +1,6 @@
function calculate () {
var object = getValue ("object");
- var is_data_frame = (getValue ("sortby.enabled") == "true");
+ var is_data_frame = getValue ("sortby.enabled.numeric");
var saveto = object;
if (getValue ("saveto_select") == "other") saveto = getValue ("saveto");
Modified: trunk/rkward/rkward/plugins/plots/plot_options.js
===================================================================
--- trunk/rkward/rkward/plugins/plots/plot_options.js 2012-11-27 13:20:20 UTC (rev 4456)
+++ trunk/rkward/rkward/plugins/plots/plot_options.js 2012-11-27 13:44:47 UTC (rev 4457)
@@ -18,7 +18,7 @@
}
function calculate () {
- if (getValue ("grid_enable") == "true") {
+ if (getValue ("grid_enable.numeric")) {
echo (getValue ("grid_options.code.printout"));
}
}
Modified: trunk/rkward/rkward/plugins/plots/scatterplot.js
===================================================================
--- trunk/rkward/rkward/plugins/plots/scatterplot.js 2012-11-27 13:20:20 UTC (rev 4456)
+++ trunk/rkward/rkward/plugins/plots/scatterplot.js 2012-11-27 13:44:47 UTC (rev 4457)
@@ -6,7 +6,7 @@
y = str_replace ("\n", ",", trim (getValue ("y"))) ;
var type = "";
- if (getValue ("manual_type") == "true") {
+ if (getValue ("manual_type.numeric")) {
type = getValue ("custom_type");
} else {
type = "c ('" + getValue ("pointtype") + "')";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list