OSDN Git Service

Version 0.6.174, rename vars for closure compiler ADVANCED_OPTIMAIZATIONS.
[pettanr/clientJs.git] / 0.6.x / js / 01_core / 21_XViewPort.js
index 8d3bca1..c1a1760 100644 (file)
@@ -149,10 +149,10 @@ X[ 'ViewPort' ] = {
                };
                
                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 );
@@ -175,10 +175,10 @@ X[ 'ViewPort' ] = {
                };
                
                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 );
@@ -193,10 +193,10 @@ X[ 'ViewPort' ] = {
        '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 );
@@ -211,10 +211,10 @@ X[ 'ViewPort' ] = {
        '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 );