src/js/libs/spiritual-gui.js
function(source, domap, thisp) {
		var result = {},
			mapping;
		this.each(source, function(key, value) {
			mapping = domap.call(thisp, key, value);
			if (mapping !== undefined) {
				result[key] = mapping;
			}
		});
		return result;
	}
function(source, domap, thisp) {
		var result = {},
			mapping;
		this.each(source, function(key, value) {
			mapping = domap.call(thisp, key, value);
			if (mapping !== undefined) {
				result[key] = mapping;
			}
		});
		return result;
	}
function ( source , domap , thisp ) { var result = { } , mapping ; this . each ( source , function ( key , value ) { mapping = domap . call ( thisp , key , value ) ; if ( mapping !== undefined ) { result [ key ] = mapping ; } } ) ; return result ; }
Create new object by passing all property
names and values through a resolver call.
Eliminate values that map to `undefined`.
@param {object} source
@param {function} domap
@param @optional {object} thisp
@returns {object}
Create new object by passing all property names and values through a resolver call . Eliminate values that map to undefined .