Difference between revisions of "Dev/Results"
(New data source. One row per team*award. everything's different now) |
(syntax error on last edit) |
||
Line 63: | Line 63: | ||
teamObj.awards.push(null); | teamObj.awards.push(null); | ||
} | } | ||
− | awards.forEach(function(award) { | + | teamObj.awards.forEach(function(award) { |
var teamAwardObj = jQuery.extend({}, teamObj); //copy the team object | var teamAwardObj = jQuery.extend({}, teamObj); //copy the team object | ||
delete teamAwardObj.awards; //delete the array of awards | delete teamAwardObj.awards; //delete the array of awards |
Revision as of 18:28, 23 September 2015