index.js
function getRetinaRatio(url) {
	var matches = /[@_](\d)x\.[a-z]{3,4}$/gi.exec(url);
	if (!matches) {
		return 1;
	}
	var ratio = _.parseInt(matches[1]);
	return ratio;
}
function getRetinaRatio(url) {
	var matches = /[@_](\d)x\.[a-z]{3,4}$/gi.exec(url);
	if (!matches) {
		return 1;
	}
	var ratio = _.parseInt(matches[1]);
	return ratio;
}
function getRetinaRatio ( url ) { var matches = / [@_](\d)x\.[a-z]{3,4}$ / gi . exec ( url ) ; if ( ! matches ) { return 1 ; } var ratio = _ . parseInt ( matches [ 1 ] ) ; return ratio ; }
Return the value of retina ratio.
Return the value of retina ratio .