チェンジセット 1184

差分発生行の前後
無視リスト:
コミット日時:
2008/08/29 16:46:06 (3 年前)
コミッタ:
nutsu
ログメッセージ:

ちらっと修正

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/snapfit/trunk/src/snapfit/events/FAbstractFixAdapter.as

    r1183 r1184  
    2424{ 
    2525        import flash.events.IEventDispatcher; 
     26        use namespace ns_fadapter; 
    2627         
    2728        /** 
     
    9495                        for each( var handlerName:String in handlerNames ) 
    9596                        { 
    96                                 if ( target[handlerName] is Function ) 
     97                                try 
    9798                                { 
    98                                         this[handlerName] = target[handlerName]; 
     99                                        if ( target[handlerName] is Function ) 
     100                                                this[handlerName] = target[handlerName]; 
     101                                } 
     102                                catch ( e:Error ) 
     103                                { 
     104                                        try 
     105                                        { 
     106                                                if ( target.ns_fadapter::[handlerName] is Function ) 
     107                                                        this[handlerName] = target.ns_fadapter::[handlerName]; 
     108                                        } 
     109                                        catch ( e:Error ) 
     110                                        { 
     111                                                ; 
     112                                        } 
    99113                                } 
    100114                        } 
  • as3/snapfit/trunk/src/snapfit/events/FAdapter.as

    r1183 r1184  
    4545                { 
    4646                        _dispatcher = (dispatcher_) ? dispatcher_ : new EventDispatcher(); 
    47                         _listeners  = {}; 
     47                        _listeners  = { }; 
    4848                } 
    4949                 
     
    194194                        } 
    195195                } 
    196                  
    197                 public static const DISPATH_FILTER:int = 0; 
    198                 public static const REMOVE_FILTER:int = -1; 
    199                  
     196                         
    200197                /** 
    201198                 * filterfunc が true を返すときに、イベントが送出されます.