Added forgotten semikola in JS.

This commit is contained in:
Sascha L. Teichmann 2015-03-04 09:33:07 +01:00
parent b71f8bd208
commit f708a7c44b

View File

@ -58,12 +58,12 @@ L.Control.AutoUpdate = L.Control.extend({
last[xz.X + "#" + xz.Z] = xz; last[xz.X + "#" + xz.Z] = xz;
} }
for (var p = 7; p >= 0; p--) { for (var p = 7; p >= 0; p--) {
var prev = pyramid[p+1] var prev = pyramid[p+1];
var curr = new Object(); var curr = new Object();
pyramid[p] = curr; pyramid[p] = curr;
for (var k in prev) { for (var k in prev) {
if (prev.hasOwnProperty(k)) { if (prev.hasOwnProperty(k)) {
var oxz = prev[k] var oxz = prev[k];
var nxz = { X: oxz.X >> 1, Z: oxz.Z >> 1 }; var nxz = { X: oxz.X >> 1, Z: oxz.Z >> 1 };
curr[nxz.X + "#" + nxz.Z] = nxz; curr[nxz.X + "#" + nxz.Z] = nxz;
} }