Cleaned code

This commit is contained in:
Abdullah Almsaeed
2015-02-20 16:46:03 -05:00
parent 45c82f5a1a
commit ffb2731764
24 changed files with 857 additions and 965 deletions

View File

@@ -68,7 +68,7 @@
};
return o.normalize();
}
};
// extract CSS color property from element, going up in the DOM
// if it's "transparent"
@@ -89,7 +89,7 @@
c = "transparent";
return $.color.parse(c);
}
};
// parse CSS color string (like "rgb(10, 32, 43)" or "#fff"),
// returns color object, if parsing failed, you get black (0, 0,
@@ -130,7 +130,7 @@
res = lookupColors[name] || [0, 0, 0];
return m(res[0], res[1], res[2]);
}
}
};
var lookupColors = {
aqua:[0,255,255],