src/sap.ui.core/src/sap/ui/thirdparty/jquery-mobile-custom.js
function handler() {
		// Get the current orientation.
		var orientation = get_orientation();

		if ( orientation !== last_orientation ) {
			// The orientation has changed, so trigger the orientationchange event.
			last_orientation = orientation;
			win.trigger( event_name );
		}
	}
function handler() {
		// Get the current orientation.
		var orientation = get_orientation();

		if ( orientation !== last_orientation ) {
			// The orientation has changed, so trigger the orientationchange event.
			last_orientation = orientation;
			win.trigger( event_name );
		}
	}
function handler ( ) { // Get the current orientation. var orientation = get_orientation ( ) ; if ( orientation !== last_orientation ) { // The orientation has changed, so trigger the orientationchange event. last_orientation = orientation ; win . trigger ( event_name ) ; } }
If the event is not supported natively, this handler will be bound to the window resize event to simulate the orientationchange event.
If the event is not supported natively this handler will be bound to the window resize event to simulate the orientationchange event .