-countries = [ 
+countries = [
 	{name: 'Afghanistan', code: 'AF'}
 	{name: 'Åland Islands', code: 'AX'}
 	{name: 'Albania', code: 'AL'}

		if country.code is code
			return country.name

exports.getImageByCode = (code="") ->
	console.log "/images/countries/#{code.toLowerCase()}.png"
	return "/images/flags/#{code.toLowerCase()}.png"

exports.getImageByName = (name) ->
	return @getImageByCode(@getCode(name))
	{name: 'Western Sahara', code: 'EH'}
	{name: 'Yemen', code: 'YE'}
	{name: 'Zambia', code: 'ZM'}
	{name: 'Zimbabwe', code: 'ZW'}
]

exports.getCode = (name) ->
