community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1757150 - /comdev/projects.apache.org/site/js/projects.js
Date Mon, 22 Aug 2016 12:05:25 GMT
Author: sebb
Date: Mon Aug 22 12:05:25 2016
New Revision: 1757150

URL: http://svn.apache.org/viewvc?rev=1757150&view=rev
Log:
Bug caused by typo (and JS auto-instantiation of global variables)

Modified:
    comdev/projects.apache.org/site/js/projects.js

Modified: comdev/projects.apache.org/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1757150&r1=1757149&r2=1757150&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Mon Aug 22 12:05:25 2016
@@ -47,7 +47,7 @@ function GetAsyncJSON(theUrl, xstate, ca
     if (window.XMLHttpRequest) {
         xmlHttp = new XMLHttpRequest();
     } else {
-        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
+        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
     }
     xmlHttp.open("GET", theUrl, true);
     xmlHttp.send(null);
@@ -83,7 +83,7 @@ function GetAsyncJSONArray(urls, finalCa
         if (window.XMLHttpRequest) {
             xmlHttp = new XMLHttpRequest();
         } else {
-            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
+            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
         }
 
         if (obj) { obj.innerHTML = "loading file #" + ( fetchCount - urls.length ) + " /
" + fetchCount + "<br>" + desc }



Mime
View raw message