beginning to unify pandora.URL and pandora.Query as Ox.URL

This commit is contained in:
rlx 2011-09-20 21:50:00 +00:00
commit b7100792c5
5 changed files with 422 additions and 17 deletions

View file

@ -2429,9 +2429,8 @@ Ox.formatColor = function(val, type) {
});
color = Ox.range(3).map(function() {
var v = Math.round(val * 255);
return val < 0.5 ? 128 + v : 255 - v;
return val < 0.5 ? 128 + v : v - 128;
});
Ox.print('COLOR', color)
}
element = Ox.element('<div>')
.css({