[Sciviews-commits] r274 - komodo/SciViews-K/content

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue May 11 00:42:22 CEST 2010


Author: prezez
Date: 2010-05-11 00:42:21 +0200 (Tue, 11 May 2010)
New Revision: 274

Modified:
   komodo/SciViews-K/content/RPkgManager.xul
Log:
Typo in package manager corrected.

Modified: komodo/SciViews-K/content/RPkgManager.xul
===================================================================
--- komodo/SciViews-K/content/RPkgManager.xul	2010-05-10 16:52:55 UTC (rev 273)
+++ komodo/SciViews-K/content/RPkgManager.xul	2010-05-10 22:42:21 UTC (rev 274)
@@ -48,8 +48,8 @@
 	height="500" width="500" persist="width height"
 	style="min-height: 500px; min-width: 500px;" title="Manage R Packages">
 
-	<script type="text/javascript">
-	<![CDATA[
+<script type="text/javascript">
+<![CDATA[
 //TODO: 	use xbl bindings
 // 		list of available packages at CRAN
 // 		repository selection + custom repositories
@@ -310,22 +310,7 @@
 		});
 }
 
-{
-//
-//function openWin() {
-//	  var WindowObjectReference = window.openDialog("file:///C:/Kamil/sciviews/komodo/bla.xul",
-//		    "RPackageManager",
-//		    "chrome=yes,centerscreen,resizable=yes,scrollbars=yes,status=no",
-//		    xxx, 1, 2
-//		);
-//}
-}
-
 self.onload = function () {
-		//var x = document.getElementById("out");
-		//x.setAttribute("value", self.name);
-		//f1();
-		//f1();
 		var args = window.arguments;
 		if (args) {
 			sv = args[0];
@@ -337,11 +322,9 @@
 		var file = sv.tools.file.path("ProfD", "extensions", "sciviewsk at sciviews.org",
 							"defaults", "pkgMan.R").replace(/\\/g, "/");
 
-		sv.r.evalCallback("source(\"" + file + "\"", function(data) {
+		sv.r.evalCallback("source(\"" + file + "\")", function(data) {
 			reloadList();
 		});
-
-
 }
 
 ]]>



More information about the Sciviews-commits mailing list