[Zope-CVS] CVS: Packages/MoZTop/content/zopetop - zopetop.js:1.2

Paul Everitt paul@zope.com
Wed, 5 Jun 2002 15:04:00 -0400


Update of /cvs-repository/Packages/MoZTop/content/zopetop
In directory cvs.zope.org:/tmp/cvs-serv10408

Modified Files:
	zopetop.js 
Log Message:
removed loading of stephans datasource

=== Packages/MoZTop/content/zopetop/zopetop.js 1.1 => 1.2 ===
                               .getService(Components.interfaces.nsIRDFService);
 
-  var ds = ExplorerRDF.GetDataSource("http://physics.cbu.edu:8080/tree;view/getRDFTree.rdf");
+  var ds = ExplorerRDF.GetDataSource("chrome://zopetop/content/zopetop/Data/foldercontents.rdf");
 
-  var remote =
-    ds.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource);
+//  var remote =
+//    ds.QueryInterface(Components.interfaces.nsIRDDataSource);
 
-  var sink =
-    ds.QueryInterface(Components.interfaces.nsIRDFXMLSink);
-    sink.addXMLSinkObserver(ExplorerObserver);
+//  var sink =
+//    ds.QueryInterface(Components.interfaces.nsIRDFXMLSink);
+//    sink.addXMLSinkObserver(ExplorerObserver);
 
   outliner = document.getElementById('explorer');
   outliner.database.AddDataSource(ds);