dist/f2.basic.js
function(appConfig) {

		// make a copy of the app config to ensure that the original is not modified
		appConfig = jQuery.extend(true, {}, appConfig);

		// create the instanceId for the app
		appConfig.instanceId = appConfig.instanceId || F2.guid();

		// default the views if not provided
		appConfig.views = appConfig.views || [];
		if (!F2.inArray(F2.Constants.Views.HOME, appConfig.views)) {
			appConfig.views.push(F2.Constants.Views.HOME);
		}

		//pass container-defined locale to each app
		if (F2.ContainerConfig.locale){
			appConfig.containerLocale = F2.ContainerConfig.locale;
		}

		return appConfig;
	}
function(appConfig) {

		// make a copy of the app config to ensure that the original is not modified
		appConfig = jQuery.extend(true, {}, appConfig);

		// create the instanceId for the app
		appConfig.instanceId = appConfig.instanceId || F2.guid();

		// default the views if not provided
		appConfig.views = appConfig.views || [];
		if (!F2.inArray(F2.Constants.Views.HOME, appConfig.views)) {
			appConfig.views.push(F2.Constants.Views.HOME);
		}

		//pass container-defined locale to each app
		if (F2.ContainerConfig.locale){
			appConfig.containerLocale = F2.ContainerConfig.locale;
		}

		return appConfig;
	}
function ( appConfig ) { // make a copy of the app config to ensure that the original is not modified appConfig = jQuery . extend ( true , { } , appConfig ) ; // create the instanceId for the app appConfig . instanceId = appConfig . instanceId || F2 . guid ( ) ; // default the views if not provided appConfig . views = appConfig . views || [ ] ; if ( ! F2 . inArray ( F2 . Constants . Views . HOME , appConfig . views ) ) { appConfig . views . push ( F2 . Constants . Views . HOME ) ; } //pass container-defined locale to each app if ( F2 . ContainerConfig . locale ) { appConfig . containerLocale = F2 . ContainerConfig . locale ; } return appConfig ; }
Adds properties to the AppConfig object
@method _createAppConfig
@private
@param {F2.AppConfig} appConfig The F2.AppConfig object
@return {F2.AppConfig} The new F2.AppConfig object, prepopulated with
necessary properties
Adds properties to the AppConfig object