index.js
function createStyleProperty(el) {
	var style = el.style;
	var output = {};
	for (var i = 0; i < style.length; ++i) {
		var item = style.item(i);
		output[item] = String(style[item]);
		// hack to workaround browser inconsistency with url()
		if (output[item].indexOf('url') > -1) {
			output[item] = output[item].replace(/\"/g, '')
		}
	}
	return { name: 'style', value: output };
}
function createStyleProperty(el) {
	var style = el.style;
	var output = {};
	for (var i = 0; i < style.length; ++i) {
		var item = style.item(i);
		output[item] = String(style[item]);
		// hack to workaround browser inconsistency with url()
		if (output[item].indexOf('url') > -1) {
			output[item] = output[item].replace(/\"/g, '')
		}
	}
	return { name: 'style', value: output };
}
function createStyleProperty ( el ) { var style = el . style ; var output = { } ; for ( var i = 0 ; i < style . length ; ++ i ) { var item = style . item ( i ) ; output [ item ] = String ( style [ item ] ) ; // hack to workaround browser inconsistency with url() if ( output [ item ] . indexOf ( 'url' ) > - 1 ) { output [ item ] = output [ item ] . replace ( / \" / g , '' ) } } return { name : 'style' , value : output } ; }
Create style property from dom node

@param   Object  el  DOM node
@return  Object        Normalized attribute
Create style property from dom node