dist/f2.basic.js
function(styles, cb) {
			// Reduce the list to styles that haven't been loaded
			var existingStyles = _findExistingStyles();
			styles = jQuery.grep(styles, function(url) {
				return url && jQuery.inArray(url, existingStyles) === -1;
			});

			// Attempt to use the user provided method
			if (_config.loadStyles) {
				return _config.loadStyles(styles, cb);
			}

			// load styles, see #101
			var stylesFragment = null,
				useCreateStyleSheet = !!document.createStyleSheet;

			jQuery.each(styles, function(i, resourceUrl) {
				if (useCreateStyleSheet) {
					document.createStyleSheet(resourceUrl);
				}
				else {
					stylesFragment = stylesFragment || [];
					stylesFragment.push('<link rel="stylesheet" type="text/css" href="' + resourceUrl + '"/>');
				}
			});

			if (stylesFragment) {
				jQuery('head').append(stylesFragment.join(''));
			}

			cb();
		}
function(styles, cb) {
			// Reduce the list to styles that haven't been loaded
			var existingStyles = _findExistingStyles();
			styles = jQuery.grep(styles, function(url) {
				return url && jQuery.inArray(url, existingStyles) === -1;
			});

			// Attempt to use the user provided method
			if (_config.loadStyles) {
				return _config.loadStyles(styles, cb);
			}

			// load styles, see #101
			var stylesFragment = null,
				useCreateStyleSheet = !!document.createStyleSheet;

			jQuery.each(styles, function(i, resourceUrl) {
				if (useCreateStyleSheet) {
					document.createStyleSheet(resourceUrl);
				}
				else {
					stylesFragment = stylesFragment || [];
					stylesFragment.push('<link rel="stylesheet" type="text/css" href="' + resourceUrl + '"/>');
				}
			});

			if (stylesFragment) {
				jQuery('head').append(stylesFragment.join(''));
			}

			cb();
		}
function ( styles , cb ) { // Reduce the list to styles that haven't been loaded var existingStyles = _findExistingStyles ( ) ; styles = jQuery . grep ( styles , function ( url ) { return url && jQuery . inArray ( url , existingStyles ) === - 1 ; } ) ; // Attempt to use the user provided method if ( _config . loadStyles ) { return _config . loadStyles ( styles , cb ) ; } // load styles, see #101 var stylesFragment = null , useCreateStyleSheet = ! ! document . createStyleSheet ; jQuery . each ( styles , function ( i , resourceUrl ) { if ( useCreateStyleSheet ) { document . createStyleSheet ( resourceUrl ) ; } else { stylesFragment = stylesFragment || [ ] ; stylesFragment . push ( '<link rel="stylesheet" type="text/css" href="' + resourceUrl + '"/>' ) ; } } ) ; if ( stylesFragment ) { jQuery ( 'head' ) . append ( stylesFragment . join ( '' ) ) ; } cb ( ) ; }
Fn for loading manifest Styles
Fn for loading manifest Styles