Clean up code

Fix indentations, whitespace, and layout
This commit is contained in:
Adrianl3d 2014-11-22 10:39:34 +10:00
parent f1543a9d36
commit 6a66351e7f

View file

@ -115,7 +115,7 @@ function createNotification(text){
color: textColor, color: textColor,
backgroundColor: backColor, backgroundColor: backColor,
alpha: backgroundAlpha, alpha: backgroundAlpha,
topargin: topMargin, topMargin: topMargin,
leftMargin: leftMargin, leftMargin: leftMargin,
font: {size: fontSize}, font: {size: fontSize},
text: text, text: text,
@ -124,8 +124,8 @@ function createNotification(text){
var buttonProperties = { var buttonProperties = {
x: buttonLocationX, x: buttonLocationX,
y: bLevel, y: bLevel,
width: 15.0,//37 width: 15.0,
height: 15.0,//35 height: 15.0,
subImage: { x: 0, y: 0, width: 10, height: 10 }, subImage: { x: 0, y: 0, width: 10, height: 10 },
imageURL: "http://hifi-public.s3.amazonaws.com/images/close-small-light.svg", imageURL: "http://hifi-public.s3.amazonaws.com/images/close-small-light.svg",
color: { red: 255, green: 255, blue: 255}, color: { red: 255, green: 255, blue: 255},
@ -365,7 +365,6 @@ var working = firstOut
times.splice(firstOut, 1); times.splice(firstOut, 1);
heights.splice(firstOut, 1); heights.splice(firstOut, 1);
myAlpha.splice(firstOut,1); myAlpha.splice(firstOut,1);
} }
onMuteStateChanged(); onMuteStateChanged();