[rkward-cvs] SF.net SVN: rkward:[2762] trunk/rkward/rkward/plugins/distributions

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Mar 4 12:57:05 UTC 2010


Revision: 2762
          http://rkward.svn.sourceforge.net/rkward/?rev=2762&view=rev
Author:   tfry
Date:     2010-03-04 12:57:05 +0000 (Thu, 04 Mar 2010)

Log Message:
-----------
Small correction (do_calculate flushes the output buffer)

Modified Paths:
--------------
    trunk/rkward/rkward/plugins/distributions/clt/plot_clt_common.js
    trunk/rkward/rkward/plugins/distributions/plot_dist_common.js

Modified: trunk/rkward/rkward/plugins/distributions/clt/plot_clt_common.js
===================================================================
--- trunk/rkward/rkward/plugins/distributions/clt/plot_clt_common.js	2010-03-04 12:22:01 UTC (rev 2761)
+++ trunk/rkward/rkward/plugins/distributions/clt/plot_clt_common.js	2010-03-04 12:57:05 UTC (rev 2762)
@@ -7,8 +7,8 @@
 }
 
 function preview () {
-	do_preprocess ();
-	do_calculate ();
+	if (typeof (preprocess) != "undefined") preprocess ();
+	if (typeof (calculate) != "undefined") calculate ();
 	doPrintout (false);
 }
 

Modified: trunk/rkward/rkward/plugins/distributions/plot_dist_common.js
===================================================================
--- trunk/rkward/rkward/plugins/distributions/plot_dist_common.js	2010-03-04 12:22:01 UTC (rev 2761)
+++ trunk/rkward/rkward/plugins/distributions/plot_dist_common.js	2010-03-04 12:57:05 UTC (rev 2762)
@@ -6,8 +6,8 @@
 }
 
 function preview () {
-	do_preprocess ();	// do_preprocess calls preprocess(), if, and only if that is defined
-	do_calculate ();
+	if (typeof (preprocess) != "undefined") preprocess ();
+	if (typeof (calculate) != "undefined") calculate ();
 	doPrintout (false);
 }
 


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