ÿþ/ * * 
   *   j G l y c y 
   *   ( c )   2 0 0 8   S e m o o h   ( h t t p : / / s e m o o h . j p / ) 
   *   
   * / 
 ( f u n c t i o n ( $ ,   p r e f i x ,   j g ) { 
     $ [ j g ]   =   $ ( { } ) ; 
     $ [ j g ] . e x t e n d ( { 
         i n v o k e :   f u n c t i o n ( n o d e s )   { 
             n o d e s . e a c h ( f u n c t i o n ( ) { 
                 v a r   n o d e   =   t h i s ; 
                 v a r   f u n c s   =   $ ( n o d e ) . a t t r ( p r e f i x ) . s p l i t ( ' , ' ) ; 
                 $ ( f u n c s ) . e a c h ( f u n c t i o n ( ) { 
                     v a r   a r g   =   $ ( n o d e ) . a t t r ( p r e f i x   +   " : "   +   t h i s ) ; 
                     i f ( a r g )   { 
                         e v a l ( ' v a r   o p t i o n s   =   { '   +   a r g   +   ' } ' ) ; 
                     }   e l s e   { 
                         v a r   o p t i o n s   =   { } ; 
                     } 
                     i f ( $ . f n [ t h i s ] )   { 
                         $ ( n o d e ) [ t h i s ] ( o p t i o n s ) ; 
                     } 
                 } ) ; 
             } ) ; 
         } , 
         i n v o k e E l e m e n t :   f u n c t i o n ( n o d e )   { 
             $ [ j g ] . i n v o k e ( $ ( " * [ "   +   p r e f i x   +   " ] " ,   n o d e ) ) ; 
         } 
     } ) ; 
     $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( ) { 
         $ [ j g ] . i n v o k e E l e m e n t ( d o c u m e n t ) ; 
     } ) ; 
 } ) ( j Q u e r y ,   " j g " ,   " j g " ) ; 
 
