community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1749747 - /comdev/projects.apache.org/site/js/projects.js
Date Wed, 22 Jun 2016 17:18:02 GMT
Author: humbedooh
Date: Wed Jun 22 17:18:02 2016
New Revision: 1749747

URL: http://svn.apache.org/viewvc?rev=1749747&view=rev
Log:
something is off here, breaking the site.. :(

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=1749747&r1=1749746&r2=1749747&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Wed Jun 22 17:18:02 2016
@@ -1096,13 +1096,22 @@ function renderCommitteeEvolution() {
     var c;
     for (c in committees) {
         c = committees[c];
-        evo[c.established]['established'].push(c);
+        if (evo[c.established]) {
+            evo[c.established]['established'].push(c);
+        } else {
+            console.log(c.established + " is off(?!)");
+        }
     }
     // add retired committees
     for (c in retiredCommittees) {
         c = retiredCommittees[c];
-        evo[c.established]['established'].push(c);
-        evo[c.retired]['retired'].push(c);
+        if (evo[c.established] && evo[c.retired]) {
+            evo[c.established]['established'].push(c);
+            evo[c.retired]['retired'].push(c);
+
+        } else {
+            console.log(c.established + " or " + c.retired + " is off(?!)");
+        }
     }
     // compute data
     var data = [];



Mime
View raw message