code: function makeAttributes(attrs) {
  		let attributes = '{';
  		let attr;
  
  		while ((attr = attrRegExp.exec(attrs))) {
  			if (attributes !== '{') attributes += ', ';
  			attributes += '"' + attr[1].toLowerCase() + '": ' + handleText(attr[2] || attr[3] || '', true).replace(/\s*[,+]\s*$/g, '');
  		}
  		return attributes + '}';
  	}
docs: generate attribute objects for vdom creation