};
f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 );
- if( !f.kind ){
+ if( !f.cbKind ){
X_ViewPort[ 'listen' ]( type, this, arg1 );
} else
- if( f.kind === X_CLOSURE_FUNC_ONLY ){
+ if( f.cbKind === X_CLOSURE_FUNC_ONLY ){
X_ViewPort[ 'listen' ]( type, this, f.func, f.supplement );
} else {
X_ViewPort[ 'listen' ]( type, arg1, arg2, arg3 );
};
f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 );
- if( !f.kind ){
+ if( !f.cbKind ){
X_ViewPort[ 'listenOnce' ]( type, this, arg1 );
} else
- if( f.kind === X_CLOSURE_FUNC_ONLY ){
+ if( f.cbKind === X_CLOSURE_FUNC_ONLY ){
X_ViewPort[ 'listenOnce' ]( type, this, f.func, f.supplement );
} else {
X_ViewPort[ 'listenOnce' ]( type, arg1, arg2, arg3 );
'unlisten' : function( type, arg1, arg2, arg3 ){
var f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 );
- if( !f.kind ){
+ if( !f.cbKind ){
X_ViewPort[ 'unlisten' ]( type, this, arg1 );
} else
- if( f.kind === X_CLOSURE_FUNC_ONLY ){
+ if( f.cbKind === X_CLOSURE_FUNC_ONLY ){
X_ViewPort[ 'unlisten' ]( type, this, f.func, f.supplement );
} else {
X_ViewPort[ 'unlisten' ]( type, arg1, arg2, arg3 );
'listening' : function( type, arg1, arg2, arg3 ){
var f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 );
- if( !f.kind ){
+ if( !f.cbKind ){
return X_ViewPort[ 'listening' ]( type, this, arg1 );
} else
- if( f.kind === X_CLOSURE_FUNC_ONLY ){
+ if( f.cbKind === X_CLOSURE_FUNC_ONLY ){
return X_ViewPort[ 'listening' ]( type, this, f.func, f.supplement );
};
return X_ViewPort[ 'listening' ]( type, arg1, arg2, arg3 );