src/js/libs/spiritual-edb.js
function lookupDescriptor(proto, key) {
		if (proto.hasOwnProperty(key)) {
			return Object.getOwnPropertyDescriptor(proto, key);
		} else if ((proto = Object.getPrototypeOf(proto))) {
			return lookupDescriptor(proto, key);
		} else {
			return null;
		}
	}
function lookupDescriptor(proto, key) {
		if (proto.hasOwnProperty(key)) {
			return Object.getOwnPropertyDescriptor(proto, key);
		} else if ((proto = Object.getPrototypeOf(proto))) {
			return lookupDescriptor(proto, key);
		} else {
			return null;
		}
	}
function lookupDescriptor ( proto , key ) { if ( proto . hasOwnProperty ( key ) ) { return Object . getOwnPropertyDescriptor ( proto , key ) ; } else if ( ( proto = Object . getPrototypeOf ( proto ) ) ) { return lookupDescriptor ( proto , key ) ; } else { return null ; } }
Lookup property descriptor for key.
@param {object} proto
@param {string} key
@returns {object}
Lookup property descriptor for key .