tasks/retinafy.js
function convertSizes(sizes) {
		var tmp = [];
		for (var size in sizes) {
			tmp.push({
				size: size,
				settings: _.extend({suffix: '', prefix: ''}, sizes[size])
			});
		}
		return tmp;
	}
function convertSizes(sizes) {
		var tmp = [];
		for (var size in sizes) {
			tmp.push({
				size: size,
				settings: _.extend({suffix: '', prefix: ''}, sizes[size])
			});
		}
		return tmp;
	}
function convertSizes ( sizes ) { var tmp = [ ] ; for ( var size in sizes ) { tmp . push ( { size : size , settings : _ . extend ( { suffix : '' , prefix : '' } , sizes [ size ] ) } ) ; } return tmp ; }
In order to do async.each we have to iterate over an array
Turn the sizes-object into an array of objects.
@param  {Object} sizes
@return {Object}
In order to do async . each we have to iterate over an array Turn the sizes - object into an array of objects .