function createDemoAppData(oDemoAppMetadata, sLibUrl, sLibNamespace) {
		// transform simple demo app link to a configuration object
		var aLinks = [];
		// transform link object to a bindable array of objects
		if (jQuery.isPlainObject(oDemoAppMetadata.links)) {
			aLinks = Object.keys(oDemoAppMetadata.links).map(function (sKey) {
				return {
					name: sKey,
					ref: oDemoAppMetadata.links[sKey]
				};
			});
		}

		var oApp = {
			lib : oDemoAppMetadata.namespace || sLibNamespace,
			name : oDemoAppMetadata.text,
			icon : oDemoAppMetadata.icon,
			desc : oDemoAppMetadata.desc,
			config : oDemoAppMetadata.config,
			teaser : oDemoAppMetadata.teaser,
			category : oDemoAppMetadata.category,
			ref : (oDemoAppMetadata.resolve === "lib" ? sLibUrl : "") + oDemoAppMetadata.ref + "?sap-ui-theme=sap_fiori_3",
			links : aLinks
		};

		return oApp;
	}
// function to compute the app objects for a demo object
function to compute the app objects for a demo object
function to compute the app objects for a demo object
function createDemoAppData(oDemoAppMetadata, sLibUrl, sLibNamespace) {
		var aLinks = [];
		if (jQuery.isPlainObject(oDemoAppMetadata.links)) {
			aLinks = Object.keys(oDemoAppMetadata.links).map(function (sKey) {
				return {
					name: sKey,
					ref: oDemoAppMetadata.links[sKey]
				};
			});
		}
		var oApp = {
			lib : oDemoAppMetadata.namespace || sLibNamespace,
			name : oDemoAppMetadata.text,
			icon : oDemoAppMetadata.icon,
			desc : oDemoAppMetadata.desc,
			config : oDemoAppMetadata.config,
			teaser : oDemoAppMetadata.teaser,
			category : oDemoAppMetadata.category,
			ref : (oDemoAppMetadata.resolve === "lib" ? sLibUrl : "") + oDemoAppMetadata.ref + "?sap-ui-theme=sap_fiori_3",
			links : aLinks
		};
		return oApp;
	}
function createDemoAppData ( oDemoAppMetadata , sLibUrl , sLibNamespace ) { var aLinks = [ ] ; if ( jQuery . isPlainObject ( oDemoAppMetadata . links ) ) { aLinks = Object . keys ( oDemoAppMetadata . links ) . map ( function ( sKey ) { return { name : sKey , ref : oDemoAppMetadata . links [ sKey ] } ; } ) ; } var oApp = { lib : oDemoAppMetadata . namespace || sLibNamespace , name : oDemoAppMetadata . text , icon : oDemoAppMetadata . icon , desc : oDemoAppMetadata . desc , config : oDemoAppMetadata . config , teaser : oDemoAppMetadata . teaser , category : oDemoAppMetadata . category , ref : ( oDemoAppMetadata . resolve === "lib" ? sLibUrl : "" ) + oDemoAppMetadata . ref + "?sap-ui-theme=sap_fiori_3" , links : aLinks } ; return oApp ; }
function to compute the app objects for a demo object
function to compute the app objects for a demo object
// transform simple demo app link to a configuration object // transform link object to a bindable array of objects