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

View file

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