diff --git a/inde.html b/inde.html
index 87e71f8..460f468 100644
--- a/inde.html
+++ b/inde.html
@@ -125,7 +125,7 @@
// do the bit manipulation and iterate through each
// occupied block (x,y) for a given piece
//------------------------------------------------
- function eachblock(type, x, y, dir, fn) {
+ function eachBlock(type, x, y, dir, fn) {
var bit, result, row = 0, col = 0, blocks = type.blocks[dir];
for(bit = 0x8000 ; bit > 0 ; bit = bit >> 1) {
if (blocks & bit) {
@@ -143,7 +143,7 @@
//-----------------------------------------------------
function occupied(type, x, y, dir) {
var result = false
- eachblock(type, x, y, dir, function(x, y) {
+ eachBlock(type, x, y, dir, function(x, y) {
if ((x < 0) || (x >= nx) || (y < 0) || (y >= ny) || getBlock(x,y))
result = true;
});
@@ -334,7 +334,7 @@
}
function dropPiece() {
- eachblock(current.type, current.x, current.y, current.dir, function(x, y) {
+ eachBlock(current.type, current.x, current.y, current.dir, function(x, y) {
setBlock(x, y, current.type);
});
}
@@ -435,7 +435,7 @@
}
function drawPiece(ctx, type, x, y, dir) {
- eachblock(type, x, y, dir, function(x, y) {
+ eachBlock(type, x, y, dir, function(x, y) {
drawBlock(ctx, x, y, type.color);
});
}