src/sap.ui.demokit/src/sap/ui/demokit/demoapps/model/libraryData.js
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,
			links : aLinks
		};

		return oApp;
	}
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,
			links : aLinks
		};

		return oApp;
	}
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 , links : aLinks } ; return oApp ; }
function to compute the app objects for a demo object
function to compute the app objects for a demo object