src/menu.js
function setAttributes(el, attributes) {
	console.log('setting attributes on element...', el, attributes);
    _.each(attributes, (value, name) => el.setAttribute(name, value));
}
function setAttributes(el, attributes) {
	console.log('setting attributes on element...', el, attributes);
    _.each(attributes, (value, name) => el.setAttribute(name, value));
}
function setAttributes ( el , attributes ) { console . log ( 'setting attributes on element...' , el , attributes ) ; _ . each ( attributes , ( value , name ) => el . setAttribute ( name , value ) ) ; }
Iterates and sets attributes to an element.

@private

@param {Element} el 			The element to set attributes on
@param {Object} attributes 	Attributes key value pairs.
Iterates and sets attributes to an element .