lib/repeater-content.js
function insertContentIntoPlaceholder(node, content) {
	const state = {replaced: false};

	node.value = replacePlaceholder(node.value, content, state);
	node.attributes.forEach(attr => {
		if (attr.value) {
			node.setAttribute(attr.name, replacePlaceholder(attr.value, content, state));
		}
	});

	return state.replaced;
}
function insertContentIntoPlaceholder(node, content) {
	const state = {replaced: false};

	node.value = replacePlaceholder(node.value, content, state);
	node.attributes.forEach(attr => {
		if (attr.value) {
			node.setAttribute(attr.name, replacePlaceholder(attr.value, content, state));
		}
	});

	return state.replaced;
}
function insertContentIntoPlaceholder ( node , content ) { const state = { replaced : false } ; node . value = replacePlaceholder ( node . value , content , state ) ; node . attributes . forEach ( attr => { if ( attr . value ) { node . setAttribute ( attr . name , replacePlaceholder ( attr . value , content , state ) ) ; } } ) ; return state . replaced ; }
Inserts given `content` into placeholders for given `node`. Placeholders
might be available in attribute values and node content
@param  {Node} node
@param  {String} content
@return {Boolean} Returns `true` if placeholders were found and replaced in node
Inserts given content into placeholders for given node . Placeholders might be available in attribute values and node content