function drillDown(oResult, sPath, fnLog) {
		if (sPath) {
			sPath.split("/").every(function (sSegment) {
				if (!oResult || typeof oResult !== "object") {
					fnLog(sSegment);
					oResult = undefined;
					return false;
				}
				oResult = oResult[sSegment];
				return true;
			});
		}
		return oResult;
	}
/**
	 * Drills down into the given object according to <code>sPath</code>.
	 *
	 * @param {object} oResult
	 *   Some object
	 * @param {string} [sPath]
	 *   Relative path to drill-down into
	 * @param {function} fnLog
	 *   A function logging a warning which takes the invalid segment as parameter
	 * @returns {object}
	 *   The child object according to <code>sPath</code>
	 */
Drills down into the given object according to sPath.
@param {object} oResult
Some object
@param {string} [sPath]
Relative path to drill-down into
@param {function} fnLog
A function logging a warning which takes the invalid segment as parameter
@returns {object}
The child object according to sPath
Drills down into the given object according to sPath . @param { object } oResult Some object @param { string } [ sPath ] Relative path to drill - down into @param { function } fnLog A function logging a warning which takes the invalid segment as parameter @returns { object } The child object according to sPath
function drillDown(oResult, sPath, fnLog) {
		if (sPath) {
			sPath.split("/").every(function (sSegment) {
				if (!oResult || typeof oResult !== "object") {
					fnLog(sSegment);
					oResult = undefined;
					return false;
				}
				oResult = oResult[sSegment];
				return true;
			});
		}
		return oResult;
	}
function drillDown ( oResult , sPath , fnLog ) { if ( sPath ) { sPath . split ( "/" ) . every ( function ( sSegment ) { if ( ! oResult || typeof oResult !== "object" ) { fnLog ( sSegment ) ; oResult = undefined ; return false ; } oResult = oResult [ sSegment ] ; return true ; } ) ; } return oResult ; }
Drills down into the given object according to <code>sPath</code>.
Drills down into the given object according to <code > sPath< / code > .