|
|
@ -38,7 +38,9 @@ function populateHoneycomb( honeyCells , index){ |
|
|
|
var honeyComb = document.getElementById("honeyComb"); |
|
|
|
var renderedHoneyComb = document.getElementById("renderedHoneyComb"); |
|
|
|
renderedHoneyComb.innerHTML=""; |
|
|
|
|
|
|
|
if( typeof honeyCells.score == "undefined"){ |
|
|
|
honeyCells.score = 0; |
|
|
|
} |
|
|
|
honeyComb.innerHTML = "<div class='honeycombIndex'>Index: "+index+"</div>"; |
|
|
|
honeyComb.innerHTML += "<div class='honeycombScore'>Score:"+honeyCells.score+"</div>"; |
|
|
|
|
|
|
|