src/sap.ui.core/src/sap/ui/core/Manifest.js
function() {

			// skip loading includes once already loaded
			if (this._bIncludesLoaded) {
				return;
			}

			var mResources = this.getEntry("/sap.ui5/resources");

			if (!mResources) {
				return;
			}

			var sComponentName = this.getComponentName();

			// load JS files
			var aJSResources = mResources["js"];
			if (aJSResources) {
				for (var i = 0; i < aJSResources.length; i++) {
					var oJSResource = aJSResources[i];
					var sFile = oJSResource.uri;
					if (sFile) {
						// load javascript file
						var m = sFile.match(/\.js$/i);
						if (m) {
							//var sJsUrl = this.resolveUri(sFile.slice(0, m.index));
							var sJsUrl = sComponentName.replace(/\./g, '/') + (sFile.slice(0, 1) === '/' ? '' : '/') + sFile.slice(0, m.index);
							Log.info("Component \"" + sComponentName + "\" is loading JS: \"" + sJsUrl + "\"");
							// call internal sap.ui.require variant that accepts a requireJS path and loads the module synchronously
							sap.ui.requireSync(sJsUrl);
						}
					}
				}
			}

			// include CSS files
			var aCSSResources = mResources["css"];
			if (aCSSResources) {
				for (var j = 0; j < aCSSResources.length; j++) {
					var oCSSResource = aCSSResources[j];
					if (oCSSResource.uri) {
						var sCssUrl = this.resolveUri(oCSSResource.uri);
						Log.info("Component \"" + sComponentName + "\" is loading CSS: \"" + sCssUrl + "\"");
						includeStylesheet(sCssUrl, {
							id: oCSSResource.id,
							"data-sap-ui-manifest-uid": this._uid
						});
					}
				}
			}

			this._bIncludesLoaded = true;

		}
function() {

			// skip loading includes once already loaded
			if (this._bIncludesLoaded) {
				return;
			}

			var mResources = this.getEntry("/sap.ui5/resources");

			if (!mResources) {
				return;
			}

			var sComponentName = this.getComponentName();

			// load JS files
			var aJSResources = mResources["js"];
			if (aJSResources) {
				for (var i = 0; i < aJSResources.length; i++) {
					var oJSResource = aJSResources[i];
					var sFile = oJSResource.uri;
					if (sFile) {
						// load javascript file
						var m = sFile.match(/\.js$/i);
						if (m) {
							//var sJsUrl = this.resolveUri(sFile.slice(0, m.index));
							var sJsUrl = sComponentName.replace(/\./g, '/') + (sFile.slice(0, 1) === '/' ? '' : '/') + sFile.slice(0, m.index);
							Log.info("Component \"" + sComponentName + "\" is loading JS: \"" + sJsUrl + "\"");
							// call internal sap.ui.require variant that accepts a requireJS path and loads the module synchronously
							sap.ui.requireSync(sJsUrl);
						}
					}
				}
			}

			// include CSS files
			var aCSSResources = mResources["css"];
			if (aCSSResources) {
				for (var j = 0; j < aCSSResources.length; j++) {
					var oCSSResource = aCSSResources[j];
					if (oCSSResource.uri) {
						var sCssUrl = this.resolveUri(oCSSResource.uri);
						Log.info("Component \"" + sComponentName + "\" is loading CSS: \"" + sCssUrl + "\"");
						includeStylesheet(sCssUrl, {
							id: oCSSResource.id,
							"data-sap-ui-manifest-uid": this._uid
						});
					}
				}
			}

			this._bIncludesLoaded = true;

		}
function ( ) { // skip loading includes once already loaded if ( this . _bIncludesLoaded ) { return ; } var mResources = this . getEntry ( "/sap.ui5/resources" ) ; if ( ! mResources ) { return ; } var sComponentName = this . getComponentName ( ) ; // load JS files var aJSResources = mResources [ "js" ] ; if ( aJSResources ) { for ( var i = 0 ; i < aJSResources . length ; i ++ ) { var oJSResource = aJSResources [ i ] ; var sFile = oJSResource . uri ; if ( sFile ) { // load javascript file var m = sFile . match ( / \.js$ / i ) ; if ( m ) { //var sJsUrl = this.resolveUri(sFile.slice(0, m.index)); var sJsUrl = sComponentName . replace ( / \. / g , '/' ) + ( sFile . slice ( 0 , 1 ) === '/' ? '' : '/' ) + sFile . slice ( 0 , m . index ) ; Log . info ( "Component \"" + sComponentName + "\" is loading JS: \"" + sJsUrl + "\"" ) ; // call internal sap.ui.require variant that accepts a requireJS path and loads the module synchronously sap . ui . requireSync ( sJsUrl ) ; } } } } // include CSS files var aCSSResources = mResources [ "css" ] ; if ( aCSSResources ) { for ( var j = 0 ; j < aCSSResources . length ; j ++ ) { var oCSSResource = aCSSResources [ j ] ; if ( oCSSResource . uri ) { var sCssUrl = this . resolveUri ( oCSSResource . uri ) ; Log . info ( "Component \"" + sComponentName + "\" is loading CSS: \"" + sCssUrl + "\"" ) ; includeStylesheet ( sCssUrl , { id : oCSSResource . id , "data-sap-ui-manifest-uid" : this . _uid } ) ; } } } this . _bIncludesLoaded = true ; }
Loads the included CSS and JavaScript resources. The resources will be
resolved relative to the component location.

@private
Loads the included CSS and JavaScript resources . The resources will be resolved relative to the component location .