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
};\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
};\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
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