<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -17,7 +17,7 @@ from __pyjamas__ import module_stack_name
 import DOM
 import pygwt
 from DeferredCommand import DeferredCommand
-import pyjslib
+#import pyjslib
 from History import History
 import Window
 from sets import Set
@@ -1614,7 +1614,7 @@ class VerticalPanel(CellPanel):
         self.setCellVerticalAlignment(widget, self.vertAlign)
 
     def remove(self, widget):
-        if pyjslib.isNumber(widget):
+        if type(widget) == int or type(widget) == long:
             widget = self.getWidget(widget)
         
         if widget.getParent() != self:
@@ -1865,7 +1865,7 @@ class RootPanelCls(AbsolutePanel):
         return None
 
 def RootPanel(element=None):
-	if pyjslib.isString(element):
+	if type(element) == type(''):
 		return RootPanelCls().get(element)
 	return RootPanelCls(element)
 	</diff>
      <filename>pyjamas-web/library/ui.py</filename>
    </modified>
    <modified>
      <diff>@@ -42,8 +42,9 @@ class HTTPRequest:
         xmlHttp = self.doCreateXmlHTTPRequest()
         if url[0] != '/':
             uri = get_main_frame().get_uri()
-            slash = uri.rfind('/')
-            url = uri[:slash+1] + url
+            if uri[:7] != 'file://':
+                slash = uri.rfind('/')
+                url = uri[:slash+1] + url
         print &quot;xmlHttp&quot;, user, pwd, url, postData, handler, dir(xmlHttp)
         #try :
         xmlHttp.open(&quot;POST&quot;, url, True, '', '')</diff>
      <filename>pyjamas-webkit/pyjamas/HTTPRequest.py</filename>
    </modified>
    <modified>
      <diff>@@ -21,12 +21,12 @@ from ui import RootPanel, GetRootWindow
 rw = GetRootWindow()
 rw.set_default_size(1000, 700)
 #h = Hello()
-#h = JSONRPCExample()
+h = JSONRPCExample()
 #h = Mail()
 #h = DockPanelTest()
 #h = TableClickTest()
 #h = GridTest()
-h = KitchenSink()
+#h = KitchenSink()
 #h = DynaTable()
 h.onModuleLoad()
 rw.show_all ()</diff>
      <filename>pyjd-gtk2/hello_loader.py</filename>
    </modified>
    <modified>
      <diff>@@ -20,7 +20,7 @@ rw = GetRootWindow()
 #rw.set_default_size(1000, 700)
 #h = Hello()
 h = JSONRPCExample()
-h = Mail()
+#h = Mail()
 #h = DockPanelTest()
 #h = TableClickTest()
 #h = GridTest()</diff>
      <filename>pyjd-qt4/hello_loader.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>208952a577f85f631e1d135e8761043f794e5c83</id>
    </parent>
  </parents>
  <author>
    <name>lkcl</name>
    <email>lkcl@lkcl.net</email>
  </author>
  <url>http://github.com/lkcl/pyjamas-desktop/commit/21e02d61b642bfca85d2fef0c6120c9338fafad3</url>
  <id>21e02d61b642bfca85d2fef0c6120c9338fafad3</id>
  <committed-date>2008-11-11T12:32:40-08:00</committed-date>
  <authored-date>2008-11-11T12:32:40-08:00</authored-date>
  <message>random set of modifications.
HTTPRequest.py needed an absolute URL.
needed to stop using pyjslib - use type(int)</message>
  <tree>9c904df7d8432118bb36014a9d6c69c8a5bcbfcf</tree>
  <committer>
    <name>lkcl</name>
    <email>lkcl@lkcl.net</email>
  </committer>
</commit>
