W3C home > Mailing lists > Public > public-dap-commits@w3.org > December 2009

2009/dap/ReSpec.js/js respec.js,1.63,1.64

From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 04 Dec 2009 13:55:03 +0000
To: public-dap-commits@w3.org
Message-Id: <E1NGYch-0002yz-6H@lionel-hutz.w3.org>
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv11449/js

Modified Files:
	respec.js 
Log Message:
try being less stupid, Robin

Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- respec.js	4 Dec 2009 13:53:47 -0000	1.63
+++ respec.js	4 Dec 2009 13:55:01 -0000	1.64
@@ -777,10 +777,10 @@
                 // };
                 xhr.send(null);
                 if (xhr.status == 200) {
-                    sn.element("style", { type: "text/css" }, document.documentElement.firstElementChild, this.responseText);
+                    sn.element("style", { type: "text/css" }, document.documentElement.firstElementChild, xhr.responseText);
                 }
                 else {
-                    error("There appear to have been a problem fetching the style sheet; status=" + this.status);
+                    error("There appear to have been a problem fetching the style sheet; status=" + xhr.status);
                 }
             }
             catch (e) {
Received on Friday, 4 December 2009 13:55:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 4 December 2009 13:55:12 GMT