tasks/retinafy.js
function processSize(targetSize, origSize) {
		var match = (targetSize.match(r_percentage) || [])[1];

		if (match /= 100) {
			return {
				width: origSize.width * match,
				height: 0
			};
		} else {
			return {
				width: (targetSize.match(r_width) || [])[1] || 0,
				height: (targetSize.match(r_height) || [])[1] || 0
			};
		}
	}
function processSize(targetSize, origSize) {
		var match = (targetSize.match(r_percentage) || [])[1];

		if (match /= 100) {
			return {
				width: origSize.width * match,
				height: 0
			};
		} else {
			return {
				width: (targetSize.match(r_width) || [])[1] || 0,
				height: (targetSize.match(r_height) || [])[1] || 0
			};
		}
	}
function processSize ( targetSize , origSize ) { var match = ( targetSize . match ( r_percentage ) || [ ] ) [ 1 ] ; if ( match /= 100 ) { return { width : origSize . width * match , height : 0 } ; } else { return { width : ( targetSize . match ( r_width ) || [ ] ) [ 1 ] || 0 , height : ( targetSize . match ( r_height ) || [ ] ) [ 1 ] || 0 } ; } }
Height matching. 
Process the size, return object of new size.
Currently only test percentages.
Height matching . Process the size return object of new size . Currently only test percentages .