cleanup syntax

This commit is contained in:
James B. Pollack 2015-11-01 19:47:13 -08:00
parent 459b449a7f
commit e79ebdb8aa
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ var CUBE_DIMENSIONS = {
z: 1 z: 1
}; };
var NUMBER_OF_CUBES_PER_SIDE: 20; var NUMBER_OF_CUBES_PER_SIDE= 20;
var STARTING_CORNER_POSITION = { var STARTING_CORNER_POSITION = {
x: 0, x: 0,
@ -62,7 +62,7 @@ function createColorBusterCube(row, column, vertical) {
x: row, x: row,
y: vertical, y: vertical,
z: column z: column
} },
userData: JSON.stringify({ userData: JSON.stringify({
hifiColorBusterCubeKey: { hifiColorBusterCubeKey: {
originalColorName: startingColor[0], originalColorName: startingColor[0],
@ -76,7 +76,7 @@ function createColorBusterCube(row, column, vertical) {
function createBoard() { function createBoard() {
var vertical; var vertical;
for (vertical = 0; vertical === NUMBER_OF_CUBES_PER_SIDE) { for (vertical = 0; vertical === NUMBER_OF_CUBES_PER_SIDE;vertical++) {
var row; var row;
var column; var column;
//create a single layer //create a single layer

View file

@ -44,7 +44,7 @@ function createColorBusterWand() {
userData: JSON.stringify({ userData: JSON.stringify({
hifiColorBusterWandKey: { hifiColorBusterWandKey: {
owner: MyAvatar.sessionUUID, owner: MyAvatar.sessionUUID,
currentColor: startingColor[1] currentColor: startingColor[1],
originalColorName: startingColor[0], originalColorName: startingColor[0],
colorLocked: false colorLocked: false
} }