src/js/libs/spiritual-gui.js
function(elm) {
			var map = Object.create(null);
			this.all(elm).forEach(function(att) {
				map[att.name] = gui.Type.cast(att.value);
			});
			return map;
		}
function(elm) {
			var map = Object.create(null);
			this.all(elm).forEach(function(att) {
				map[att.name] = gui.Type.cast(att.value);
			});
			return map;
		}
function ( elm ) { var map = Object . create ( null ) ; this . all ( elm ) . forEach ( function ( att ) { map [ att . name ] = gui . Type . cast ( att . value ) ; } ) ; return map ; }
Get all attributes as hashmap type object.
Values are converted to an inferred type.
@param {Element} elm
@returns {Map<String,String>}
Get all attributes as hashmap type object . Values are converted to an inferred type .