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

			// skip removing includes when not loaded yet
			if (!this._bIncludesLoaded) {
				return;
			}

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

			if (!mResources) {
				return;
			}

			var sComponentName = this.getComponentName();

			// remove CSS files
			var aCSSResources = mResources["css"];
			if (aCSSResources) {
				// As all <link> tags have been marked with the manifest's unique id (via data-sap-ui-manifest-uid)
				// it is not needed to check for all individual CSS files defined in the manifest.
				// Checking for all "href"s again might also cause issues when they have been adopted (e.g. to add cachebuster url params).

				var aLinks = document.querySelectorAll("link[data-sap-ui-manifest-uid='" + this._uid + "']");
				for (var i = 0; i < aLinks.length; i++) {
					var oLink = aLinks[i];
					Log.info("Component \"" + sComponentName + "\" is removing CSS: \"" + oLink.href + "\"");
					oLink.parentNode.removeChild(oLink);
				}
			}

			this._bIncludesLoaded = false;

		}
function() {

			// skip removing includes when not loaded yet
			if (!this._bIncludesLoaded) {
				return;
			}

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

			if (!mResources) {
				return;
			}

			var sComponentName = this.getComponentName();

			// remove CSS files
			var aCSSResources = mResources["css"];
			if (aCSSResources) {
				// As all <link> tags have been marked with the manifest's unique id (via data-sap-ui-manifest-uid)
				// it is not needed to check for all individual CSS files defined in the manifest.
				// Checking for all "href"s again might also cause issues when they have been adopted (e.g. to add cachebuster url params).

				var aLinks = document.querySelectorAll("link[data-sap-ui-manifest-uid='" + this._uid + "']");
				for (var i = 0; i < aLinks.length; i++) {
					var oLink = aLinks[i];
					Log.info("Component \"" + sComponentName + "\" is removing CSS: \"" + oLink.href + "\"");
					oLink.parentNode.removeChild(oLink);
				}
			}

			this._bIncludesLoaded = false;

		}
function ( ) { // skip removing includes when not loaded yet if ( ! this . _bIncludesLoaded ) { return ; } var mResources = this . getEntry ( "/sap.ui5/resources" ) ; if ( ! mResources ) { return ; } var sComponentName = this . getComponentName ( ) ; // remove CSS files var aCSSResources = mResources [ "css" ] ; if ( aCSSResources ) { // As all <link> tags have been marked with the manifest's unique id (via data-sap-ui-manifest-uid) // it is not needed to check for all individual CSS files defined in the manifest. // Checking for all "href"s again might also cause issues when they have been adopted (e.g. to add cachebuster url params). var aLinks = document . querySelectorAll ( "link[data-sap-ui-manifest-uid='" + this . _uid + "']" ) ; for ( var i = 0 ; i < aLinks . length ; i ++ ) { var oLink = aLinks [ i ] ; Log . info ( "Component \"" + sComponentName + "\" is removing CSS: \"" + oLink . href + "\"" ) ; oLink . parentNode . removeChild ( oLink ) ; } } this . _bIncludesLoaded = false ; }
Removes the included CSS resources.

@private
Removes the included CSS resources .