* イベントターゲット上にある現在のどのイベントリスナーも指定していない引数付きの removeEventListener は、何の効果もありません。\r
*/\r
\r
-X.Event = {\r
- COMPLETE : 1,\r
- READY : 2,\r
- SUCCESS : 3,\r
- ERROR : 4,\r
- PROGRESS : 5,\r
- BEFORE_CANCEL : 6,\r
- CANCELED : 7,\r
- TIMEOUT : 8,\r
- BEFORE_KILL_INSTANCE : 9,\r
- KILL_INSTANCE : 10,\r
- KILL_INSTANCE_CANCELED : 11,\r
- _LAST_EVENT : 11\r
-};\r
-\r
// ------------------------------------------------------------------------- //\r
// ------------ local variables -------------------------------------------- //\r
// ------------------------------------------------------------------------- //\r
raw = this._rawObject || this._ie4getRawNode && this._ie4getRawNode();\r
delete list[ opt_type ];\r
if( empty = X.isEmptyObject( list ) ) delete this._listeners;\r
- if( raw && '' + parseFloat( opt_type ) !== opt_type ){ // 数字イベントの除外\r
+ if( raw && '' + parseFloat( opt_type ) !== '' + opt_type ){ // 数字イベントの除外\r
X_EventDispatcher_actualRemoveEvent( this, opt_type, raw, _list, !empty );\r
};\r
};\r
} else {\r
that._handleEvent || ( that._handleEvent = X.Callback.create( that, X_EventDispatcher_actualHandleEvent ) );\r
\r
- if( that._isSilverLight ){\r
+ if( that._isSilverlight ){\r
list.slcallback = X.Callback.create( that, X_EventDispatcher_sliverLightDispatch, [ type ] );\r
list.sltoken = raw.AddEventListener( type, list.slcallback );\r
} else\r
} else{\r
that._handleEvent || ( that._handleEvent = X.Callback.create( that, X_EventDispatcher_actualHandleEvent ) );\r
\r
- if( that._isSilverLight ){\r
+ if( that._isSilverlight ){\r
list.slcallback = X.Callback.create( that, X_EventDispatcher_sliverLightDispatch, [ type ] );\r
list.sltoken = raw.AddEventListener( type, list.slcallback );\r
} else\r
} else {\r
that._handleEvent || ( that._handleEvent = X.Callback.create( that, X_EventDispatcher_actualHandleEvent ) );\r
\r
- if( that._isSilverLight ){\r
+ if( that._isSilverlight ){\r
list.slcallback = X.Callback.create( that, X_EventDispatcher_sliverLightDispatch, [ type ] );\r
list.sltoken = raw.AddEventListener( type, list.slcallback );\r
} else {\r
};\r
} else {\r
\r
- if( that._isSilverLight ){\r
+ if( that._isSilverlight ){\r
raw.RemoveEventListener( type, list.sltoken ); // token\r
X.Callback._correct( list.slcallback );\r
delete list.sltoken;\r
};\r
} else {\r
\r
- if( that._isSilverLight ){\r
+ if( that._isSilverlight ){\r
raw.RemoveEventListener( type, list.sltoken ); // token\r
X.Callback._correct( list.slcallback );\r
delete list.sltoken;\r
};\r
} else {\r
\r
- if( that._isSilverLight ){\r
+ if( that._isSilverlight ){\r
raw.RemoveEventListener( type, list.sltoken ); // token\r
X.Callback._correct( list.slcallback );\r
delete list.sltoken;\r