code: 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;
  }
docs: Return the value of retina ratio.