rem: value = $splat(value).map(function(val, i){ if (!map[i]) return ''; return ($type(val) == 'number') ? map[i].replace('@', Math.round(val)) : val; }).join(' '); 
add: ['Top', 'Right', 'Bottom', 'Left'].each(function(direction){ var Short = Element.ShortStyles; var All = Element.Styles; ['margin', 'padding'].each(function(style){ var sd = style + direction; Short[style][sd] = All[sd] = '@px'; }); var bd = 'border' + direction; Short.border[bd] = All[bd] = '@px @ rgb(@, @, @)'; var bdw = bd + 'Width', bds = bd + 'Style', bdc = bd + 'Color'; Short[bd] = {}; Short.borderWidth[bdw] = Short[bd][bdw] = All[bdw] = '@px'; Short.borderStyle[bds] = Short[bd][bds] = All[bds] = '@'; Short.borderColor[bdc] = Short[bd][bdc] = All[bdc] = 'rgb(@, @, @)'; }); 
context: 			value = $splat(value).map(function(val, i){				if (!map[i]) return '';				return ($type(val) == 'number') ? map[i].replace('@', Math.round(val)) : val;			}).join(' ');
meta: 5409	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5409/7529e6643e04ceed567624de4aa5396de135e4fb/Element.Style.js/clean/Source/Element/Element.Style.js