work without firebug present
authorAndrew Sutherland <asutherland@asutherland.org>
Wed, 14 Jan 2009 00:15:00 -0800
changeset 23 199f91ec36461809b8cfa88df2eefd32512b2703
parent 22 e54f35620881eedccdae43b4d96e807a9a3dd3ca
child 24 87ef59e6a821d9d1d22f3cf1853c8ca8d8211ee5
push id1
push userroot
push dateWed, 08 Apr 2009 01:46:05 +0000
work without firebug present
client/conversation.xhtml
client/index.xhtml
--- a/client/conversation.xhtml
+++ b/client/conversation.xhtml
@@ -1,13 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="html">
 <head>
   <title>Junius</title>
+  <script type="text/javascript" charset="utf-8"><![CDATA[
+    if (window.console === undefined)
+      console = {log: function() {}};
+  ]]></script>
   <script src="/_utils/script/json2.js"></script>
   <script src="/_utils/script/jquery.js?1.2.6"></script>
   <script src="jquery.couch.js"></script>
   <script src="xbl-src.js"></script>
   <script src="md5.js"></script>
   <link rel="stylesheet" href="bindings.css" type="text/css"></link>
   <script src="cloda.js"></script>
   <script src="cloda-completers.js"></script>
@@ -25,9 +29,9 @@
         $("#conversation-reader")[0].setConversation(conversations[0]);
       });
     }
   ]]></script>
 </head>
 <body id="body">
   <div id="conversation-reader"></div>
 </body>
-</html>
\ No newline at end of file
+</html>
--- a/client/index.xhtml
+++ b/client/index.xhtml
@@ -1,13 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
   <title>Junius</title>
+  <script type="text/javascript" charset="utf-8"><![CDATA[
+    if (window.console === undefined)
+      console = {log: function() {}};
+  ]]></script>
   <script src="/_utils/script/json2.js"></script>
   <script src="/_utils/script/jquery.js?1.2.6"></script>
   <script src="jquery.couch.js"></script>
   <script src="xbl-src.js"></script>
   <script src="md5.js"></script>
   <link rel="stylesheet" href="bindings.css" type="text/css"></link>
   <link rel="stylesheet" href="autocomplete.css" type="text/css"></link>
   <link rel="stylesheet" href="bubbles.css" type="text/css"></link>