dist/f2.basic.js
function() {

		var resizeTimeout;
		var resizeHandler = function() {
			F2.Events.emit(F2.Constants.Events.CONTAINER_WIDTH_CHANGE);
		};

		jQuery(window).on('resize', function() {
			clearTimeout(resizeTimeout);
			resizeTimeout = setTimeout(resizeHandler, 100);
		});

		//listen for container-broadcasted locale changes
		F2.Events.on(F2.Constants.Events.CONTAINER_LOCALE_CHANGE,function(data){
			if (data.locale && typeof data.locale == 'string'){
				F2.ContainerConfig.locale = data.locale;
			}
		});
	}
function() {

		var resizeTimeout;
		var resizeHandler = function() {
			F2.Events.emit(F2.Constants.Events.CONTAINER_WIDTH_CHANGE);
		};

		jQuery(window).on('resize', function() {
			clearTimeout(resizeTimeout);
			resizeTimeout = setTimeout(resizeHandler, 100);
		});

		//listen for container-broadcasted locale changes
		F2.Events.on(F2.Constants.Events.CONTAINER_LOCALE_CHANGE,function(data){
			if (data.locale && typeof data.locale == 'string'){
				F2.ContainerConfig.locale = data.locale;
			}
		});
	}
function ( ) { var resizeTimeout ; var resizeHandler = function ( ) { F2 . Events . emit ( F2 . Constants . Events . CONTAINER_WIDTH_CHANGE ) ; } ; jQuery ( window ) . on ( 'resize' , function ( ) { clearTimeout ( resizeTimeout ) ; resizeTimeout = setTimeout ( resizeHandler , 100 ) ; } ) ; //listen for container-broadcasted locale changes F2 . Events . on ( F2 . Constants . Events . CONTAINER_LOCALE_CHANGE , function ( data ) { if ( data . locale && typeof data . locale == 'string' ) { F2 . ContainerConfig . locale = data . locale ; } } ) ; }
Attach container Events
@method _initContainerEvents
@private
Attach container Events