community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1698111 - /comdev/reporter.apache.org/trunk/site/render.js
Date Thu, 27 Aug 2015 10:41:54 GMT
Author: sebb
Date: Thu Aug 27 10:41:53 2015
New Revision: 1698111

URL: http://svn.apache.org/r1698111
Log:
Docn

Modified:
    comdev/reporter.apache.org/trunk/site/render.js

Modified: comdev/reporter.apache.org/trunk/site/render.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/render.js?rev=1698111&r1=1698110&r2=1698111&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/render.js (original)
+++ comdev/reporter.apache.org/trunk/site/render.js Thu Aug 27 10:41:53 2015
@@ -4,6 +4,7 @@ var templates = {}
 var nproject = null;
 
 // Function for async fetching of a single JSON file with JS callback
+// Parses Url as JSON and calls callback(JSON, xstate)
 
 function GetAsyncJSON(theUrl, xstate, callback) {
 	var xmlHttp = null;
@@ -78,6 +79,7 @@ function getWednesdays(mo, y) {
 	return wednesdays;
 }
 
+// Called by: GetAsyncJSON("reportingcycles.json?" + Math.random(), [pmc, reportdate, json.pdata[pmc].name],
setReportDate) 
 function setReportDate(json, x) {
 	var pmc = x[0]
 	var reportdate = x[1]
@@ -609,6 +611,7 @@ function renderFrontPage(json) {
 
 }
 
+// Called by: GetAsyncJSON('/getjson.py?only='+ this.value, this.value, mergeData) 
 function mergeData(json, pmc) {
 	if (jsdata.pmcs.indexOf(pmc) >= 0) {
 		return



Mime
View raw message