OSDN Git Service

Version 0.6.174, rename vars for closure compiler ADVANCED_OPTIMAIZATIONS.
[pettanr/clientJs.git] / 0.6.x / js / 20_ui / 06_AbstractUINode.js
index 5e0dce7..a432110 100644 (file)
@@ -156,10 +156,10 @@ var XUI_AbstractUINode = X_EventDispatcher[ 'inherits' ](
                                        console.log( v + ' ' + _v );\r
                                        v = _v;\r
                                } else\r
-                               if( ( percent || minusPct ) && v.lastIndexOf( '%' ) !== -1 && isFinite( _v = parseFloat( v ) ) && v === _v + '%' ){\r
+                               if( ( percent || minusPct ) && v.lastIndexOf( '%' ) !== -1 && X_Type_isFinite( _v = parseFloat( v ) ) && v === _v + '%' ){\r
                                        // good\r
                                } else\r
-                               if( ( length || minusLen ) && v.lastIndexOf( 'em' ) !== -1 && isFinite( _v = parseFloat( v ) ) && v === _v + 'em' ){\r
+                               if( ( length || minusLen ) && v.lastIndexOf( 'em' ) !== -1 && X_Type_isFinite( _v = parseFloat( v ) ) && v === _v + 'em' ){\r
                                        v = _v;\r
                                } else                          \r
                                if( v.indexOf( ' ' ) !== -1 ){\r
@@ -740,11 +740,11 @@ var XUI_AbstractUINode = X_EventDispatcher[ 'inherits' ](
                                };\r
                        };\r
                        \r
-                       arg1 && arg1.kind ? ( f = arg1 ) : ( f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 ) );\r
-                       if( !f.kind ){\r
+                       arg1 && arg1.cbKind ? ( f = arg1 ) : ( f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 ) );\r
+                       if( !f.cbKind ){\r
                                return X_EventDispatcher_listen.call( this, type, this.User, f );\r
                        } else\r
-                       if( f.kind === X_CLOSURE_FUNC_ONLY ){\r
+                       if( f.cbKind === X_CLOSURE_FUNC_ONLY ){\r
                                return X_EventDispatcher_listen.call( this, type, this.User, f.func, f.supplement );\r
                        };\r
                        return X_EventDispatcher_listen.apply( this, arguments );\r
@@ -777,11 +777,11 @@ var XUI_AbstractUINode = X_EventDispatcher[ 'inherits' ](
                                        };\r
                                };\r
                        };\r
-                       arg1 && arg1.kind ? ( f = arg1 ) : ( f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 ) );\r
-                       if( !f.kind ){\r
+                       arg1 && arg1.cbKind ? ( f = arg1 ) : ( f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 ) );\r
+                       if( !f.cbKind ){\r
                                return X_EventDispatcher_unlisten.apply( this, [ type, this.User, f ] );\r
                        } else\r
-                       if( f.kind === X_CLOSURE_FUNC_ONLY ){\r
+                       if( f.cbKind === X_CLOSURE_FUNC_ONLY ){\r
                                return X_EventDispatcher_unlisten.apply( this, [ type, this.User, f.func, f.supplement ] );\r
                        };\r
                        return X_EventDispatcher_unlisten.apply( this, arguments );\r
@@ -1072,7 +1072,7 @@ X.UI.AbstractUINode = X_Class_create(
                                        list = listeners[ type ];\r
                                        for( i = 0, l = list.length; i < l; ++i ){\r
                                                f = list[ i ];\r
-                                               switch( f.kind ){\r
+                                               switch( f.cbKind ){\r
                                                        case X_CLOSURE_THIS_FUNC :\r
                                                                if( f.lock ){\r
                                                                        X_EventDispatcher_systemListen( newNode, type, f.context === this ? newNode : f.context, f.func, f.supplement );\r