microformat-shiv.js
function(node, attributeName) {
			var out = [],
				attList;

			attList = node.getAttribute(attributeName);
			if(attList && attList !== '') {
				if(attList.indexOf(' ') > -1) {
					out = attList.split(' ');
				} else {
					out.push(attList);
				}
			}
			return out;
		}
function(node, attributeName) {
			var out = [],
				attList;

			attList = node.getAttribute(attributeName);
			if(attList && attList !== '') {
				if(attList.indexOf(' ') > -1) {
					out = attList.split(' ');
				} else {
					out.push(attList);
				}
			}
			return out;
		}
function ( node , attributeName ) { var out = [ ] , attList ; attList = node . getAttribute ( attributeName ) ; if ( attList && attList !== '' ) { if ( attList . indexOf ( ' ' ) > - 1 ) { out = attList . split ( ' ' ) ; } else { out . push ( attList ) ; } } return out ; }
get value of a Node attribute as an array

@param  {DOM Node} node
@param  {String} attributeName
@return {Array}
get value of a Node attribute as an array