X_Dom_orientationchange = window[ 'orientation' ] !== undefined && function( e ){
X_ViewPort_orientationFlag = true;
!X_UA[ 'Android' ] && X_ViewPort_resize();
- //console.log( '-- orientationchange : ' + X.ViewPort.getSize[ 0 ] + ' ' + X.ViewPort.getSize[ 1 ] );
+ //console.log( '-- orientationchange : ' + X[ 'ViewPort' ].getSize[ 0 ] + ' ' + X[ 'ViewPort' ].getSize[ 1 ] );
},
X_ViewPort_document = X_EventDispatcher( document ),
* @namespace X.ViewPort
* @alias X.ViewPort
*/
-X.ViewPort = {
+X[ 'ViewPort' ] = {
'listen' : function( type, arg1, arg2, arg3 ){
if( type <= X_ViewPort_readyState ){
};
// ie8-では keydown -> documentへ
type && arg1 && X_ViewPort[ 'listen' ]( type, arg1, arg2, arg3 );
- return X.ViewPort;
+ return X[ 'ViewPort' ];
},
X_ViewPort[ 'asyncDispatch' ]( type );
};
type && arg1 && X_ViewPort[ 'listenOnce' ]( type, arg1, arg2, arg3 );
- return X.ViewPort;
+ return X[ 'ViewPort' ];
},
'unlisten' : function( type, arg1, arg2, arg3 ){
type && arg1 && X_ViewPort[ 'unlisten' ]( type, arg1, arg2, arg3 );
- return X.ViewPort;
+ return X[ 'ViewPort' ];
},
'listening' : function( type, arg1, arg2, arg3 ){
if( X_UA_EVENT.W3C ){
X_ViewPort_document[ 'listenOnce' ]( 'DOMContentLoaded', X_TEMP.onDomContentLoaded );
} else
-if( 6 <= X_UA[ 'IE' ] && X.inHead ){
+if( 6 <= X_UA[ 'IE' ] && X[ 'inHead' ] ){
// if this script in Head
document.write( "<script id=__ie_onload defer src=javascript:void(0)><\/script>" );
X_TEMP._script = document.getElementById( "__ie_onload" );