ÿþ/ * !  
   *   j Q u e r y   c o r n e r   p l u g i n :   s i m p l e   c o r n e r   r o u n d i n g  
   *   E x a m p l e s   a n d   d o c u m e n t a t i o n   a t :   h t t p : / / j q u e r y . m a l s u p . c o m / c o r n e r /  
   *   v e r s i o n   2 . 1 2   ( 2 3 - M A Y - 2 0 1 1 )  
   *   R e q u i r e s   j Q u e r y   v 1 . 3 . 2   o r   l a t e r  
   *   D u a l   l i c e n s e d   u n d e r   t h e   M I T   a n d   G P L   l i c e n s e s :  
   *   h t t p : / / w w w . o p e n s o u r c e . o r g / l i c e n s e s / m i t - l i c e n s e . p h p  
   *   h t t p : / / w w w . g n u . o r g / l i c e n s e s / g p l . h t m l  
   *   A u t h o r s :   D a v e   M e t h v i n   a n d   M i k e   A l s u p  
   * /  
  
 / * *  
   *     c o r n e r ( )   t a k e s   a   s i n g l e   s t r i n g   a r g u m e n t :     $ ( ' # m y D i v ' ) . c o r n e r ( " e f f e c t   c o r n e r s   w i d t h " )  
   *  
   *     e f f e c t :     n a m e   o f   t h e   e f f e c t   t o   a p p l y ,   s u c h   a s   r o u n d ,   b e v e l ,   n o t c h ,   b i t e ,   e t c   ( d e f a u l t   i s   r o u n d ) .    
   *     c o r n e r s :   o n e   o r   m o r e   o f :   t o p ,   b o t t o m ,   t r ,   t l ,   b r ,   o r   b l .     ( d e f a u l t   i s   a l l   c o r n e r s )  
   *     w i d t h :       w i d t h   o f   t h e   e f f e c t ;   i n   t h e   c a s e   o f   r o u n d e d   c o r n e r s   t h i s   i s   t h e   r a d i u s .    
   *                       s p e c i f y   t h i s   v a l u e   u s i n g   t h e   p x   s u f f i x   s u c h   a s   1 0 p x   ( y e s ,   i t   m u s t   b e   p i x e l s ) .  
   * /  
 ; ( f u n c t i o n ( $ )   {    
  
 v a r   s t y l e   =   d o c u m e n t . c r e a t e E l e m e n t ( ' d i v ' ) . s t y l e ,  
         m o z   =   s t y l e [ ' M o z B o r d e r R a d i u s ' ]   ! = =   u n d e f i n e d ,  
         w e b k i t   =   s t y l e [ ' W e b k i t B o r d e r R a d i u s ' ]   ! = =   u n d e f i n e d ,  
         r a d i u s   =   s t y l e [ ' b o r d e r R a d i u s ' ]   ! = =   u n d e f i n e d   | |   s t y l e [ ' B o r d e r R a d i u s ' ]   ! = =   u n d e f i n e d ,  
         m o d e   =   d o c u m e n t . d o c u m e n t M o d e   | |   0 ,  
         n o B o t t o m F o l d   =   $ . b r o w s e r . m s i e   & &   ( ( $ . b r o w s e r . v e r s i o n   <   8   & &   ! m o d e )   | |   m o d e   <   8 ) ,  
  
         e x p r   =   $ . b r o w s e r . m s i e   & &   ( f u n c t i o n ( )   {  
                 v a r   d i v   =   d o c u m e n t . c r e a t e E l e m e n t ( ' d i v ' ) ;  
                 t r y   {   d i v . s t y l e . s e t E x p r e s s i o n ( ' w i d t h ' , ' 0 + 0 ' ) ;   d i v . s t y l e . r e m o v e E x p r e s s i o n ( ' w i d t h ' ) ;   }  
                 c a t c h ( e )   {   r e t u r n   f a l s e ;   }  
                 r e t u r n   t r u e ;  
         } ) ( ) ;  
  
 $ . s u p p o r t   =   $ . s u p p o r t   | |   { } ;  
 $ . s u p p o r t . b o r d e r R a d i u s   =   m o z   | |   w e b k i t   | |   r a d i u s ;   / /   s o   y o u   c a n   d o :     i f   ( ! $ . s u p p o r t . b o r d e r R a d i u s )   $ ( ' # m y D i v ' ) . c o r n e r ( ) ;  
  
 f u n c t i o n   s z ( e l ,   p )   {    
         r e t u r n   p a r s e I n t ( $ . c s s ( e l , p ) ) | | 0 ;    
 } ;  
 f u n c t i o n   h e x 2 ( s )   {  
         s   =   p a r s e I n t ( s ) . t o S t r i n g ( 1 6 ) ;  
         r e t u r n   (   s . l e n g t h   <   2   )   ?   ' 0 ' + s   :   s ;  
 } ;  
 f u n c t i o n   g p c ( n o d e )   {  
         w h i l e ( n o d e )   {  
                 v a r   v   =   $ . c s s ( n o d e , ' b a c k g r o u n d C o l o r ' ) ,   r g b ;  
                 i f   ( v   & &   v   ! =   ' t r a n s p a r e n t '   & &   v   ! =   ' r g b a ( 0 ,   0 ,   0 ,   0 ) ' )   {  
                         i f   ( v . i n d e x O f ( ' r g b ' )   > =   0 )   {    
                                 r g b   =   v . m a t c h ( / \ d + / g ) ;    
                                 r e t u r n   ' # ' +   h e x 2 ( r g b [ 0 ] )   +   h e x 2 ( r g b [ 1 ] )   +   h e x 2 ( r g b [ 2 ] ) ;  
                         }  
                         r e t u r n   v ;  
                 }  
                 i f   ( n o d e . n o d e N a m e . t o L o w e r C a s e ( )   = =   ' h t m l ' )  
                         b r e a k ;  
                 n o d e   =   n o d e . p a r e n t N o d e ;   / /   k e e p   w a l k i n g   i f   t r a n s p a r e n t  
         }  
         r e t u r n   ' # f f f f f f ' ;  
 } ;  
  
 f u n c t i o n   g e t W i d t h ( f x ,   i ,   w i d t h )   {  
         s w i t c h ( f x )   {  
         c a s e   ' r o u n d ' :     r e t u r n   M a t h . r o u n d ( w i d t h * ( 1 - M a t h . c o s ( M a t h . a s i n ( i / w i d t h ) ) ) ) ;  
         c a s e   ' c o o l ' :       r e t u r n   M a t h . r o u n d ( w i d t h * ( 1 + M a t h . c o s ( M a t h . a s i n ( i / w i d t h ) ) ) ) ;  
         c a s e   ' s h a r p ' :     r e t u r n   w i d t h - i ;  
         c a s e   ' b i t e ' :       r e t u r n   M a t h . r o u n d ( w i d t h * ( M a t h . c o s ( M a t h . a s i n ( ( w i d t h - i - 1 ) / w i d t h ) ) ) ) ;  
         c a s e   ' s l i d e ' :     r e t u r n   M a t h . r o u n d ( w i d t h * ( M a t h . a t a n 2 ( i , w i d t h / i ) ) ) ;  
         c a s e   ' j u t ' :         r e t u r n   M a t h . r o u n d ( w i d t h * ( M a t h . a t a n 2 ( w i d t h , ( w i d t h - i - 1 ) ) ) ) ;  
         c a s e   ' c u r l ' :       r e t u r n   M a t h . r o u n d ( w i d t h * ( M a t h . a t a n ( i ) ) ) ;  
         c a s e   ' t e a r ' :       r e t u r n   M a t h . r o u n d ( w i d t h * ( M a t h . c o s ( i ) ) ) ;  
         c a s e   ' w i c k e d ' :   r e t u r n   M a t h . r o u n d ( w i d t h * ( M a t h . t a n ( i ) ) ) ;  
         c a s e   ' l o n g ' :       r e t u r n   M a t h . r o u n d ( w i d t h * ( M a t h . s q r t ( i ) ) ) ;  
         c a s e   ' s c u l p t ' :   r e t u r n   M a t h . r o u n d ( w i d t h * ( M a t h . l o g ( ( w i d t h - i - 1 ) , w i d t h ) ) ) ;  
         c a s e   ' d o g f o l d ' :  
         c a s e   ' d o g ' :         r e t u r n   ( i & 1 )   ?   ( i + 1 )   :   w i d t h ;  
         c a s e   ' d o g 2 ' :       r e t u r n   ( i & 2 )   ?   ( i + 1 )   :   w i d t h ;  
         c a s e   ' d o g 3 ' :       r e t u r n   ( i & 3 )   ?   ( i + 1 )   :   w i d t h ;  
         c a s e   ' f r a y ' :       r e t u r n   ( i % 2 ) * w i d t h ;  
         c a s e   ' n o t c h ' :     r e t u r n   w i d t h ;    
         c a s e   ' b e v e l f o l d ' :  
         c a s e   ' b e v e l ' :     r e t u r n   i + 1 ;  
         c a s e   ' s t e e p ' :     r e t u r n   i / 2   +   1 ;  
         c a s e   ' i n v s t e e p ' : r e t u r n   ( w i d t h - i ) / 2 + 1 ;  
         }  
 } ;  
  
 $ . f n . c o r n e r   =   f u n c t i o n ( o p t i o n s )   {  
         / /   i n   1 . 3 +   w e   c a n   f i x   m i s t a k e s   w i t h   t h e   r e a d y   s t a t e  
         i f   ( t h i s . l e n g t h   = =   0 )   {  
                 i f   ( ! $ . i s R e a d y   & &   t h i s . s e l e c t o r )   {  
                         v a r   s   =   t h i s . s e l e c t o r ,   c   =   t h i s . c o n t e x t ;  
                         $ ( f u n c t i o n ( )   {  
                                 $ ( s , c ) . c o r n e r ( o p t i o n s ) ;  
                         } ) ;  
                 }  
                 r e t u r n   t h i s ;  
         }  
  
         r e t u r n   t h i s . e a c h ( f u n c t i o n ( i n d e x ) {  
                 v a r   $ t h i s   =   $ ( t h i s ) ,  
                         / /   m e t a   v a l u e s   o v e r r i d e   o p t i o n s  
                         o   =   [ $ t h i s . a t t r ( $ . f n . c o r n e r . d e f a u l t s . m e t a A t t r )   | |   ' ' ,   o p t i o n s   | |   ' ' ] . j o i n ( '   ' ) . t o L o w e r C a s e ( ) ,  
                         k e e p   =   / k e e p / . t e s t ( o ) ,                                               / /   k e e p   b o r d e r s ?  
                         c c   =   ( ( o . m a t c h ( / c c : ( # [ 0 - 9 a - f ] + ) / ) | | [ ] ) [ 1 ] ) ,     / /   c o r n e r   c o l o r  
                         s c   =   ( ( o . m a t c h ( / s c : ( # [ 0 - 9 a - f ] + ) / ) | | [ ] ) [ 1 ] ) ,     / /   s t r i p   c o l o r  
                         w i d t h   =   p a r s e I n t ( ( o . m a t c h ( / ( \ d + ) p x / ) | | [ ] ) [ 1 ] )   | |   1 0 ,   / /   c o r n e r   w i d t h  
                         r e   =   / r o u n d | b e v e l f o l d | b e v e l | n o t c h | b i t e | c o o l | s h a r p | s l i d e | j u t | c u r l | t e a r | f r a y | w i c k e d | s c u l p t | l o n g | d o g 3 | d o g 2 | d o g f o l d | d o g | i n v s t e e p | s t e e p / ,  
                         f x   =   ( ( o . m a t c h ( r e ) | | [ ' r o u n d ' ] ) [ 0 ] ) ,  
                         f o l d   =   / d o g f o l d | b e v e l f o l d / . t e s t ( o ) ,  
                         e d g e s   =   {   T : 0 ,   B : 1   } ,  
                         o p t s   =   {  
                                 T L :     / t o p | t l | l e f t / . t e s t ( o ) ,               T R :     / t o p | t r | r i g h t / . t e s t ( o ) ,  
                                 B L :     / b o t t o m | b l | l e f t / . t e s t ( o ) ,         B R :     / b o t t o m | b r | r i g h t / . t e s t ( o )  
                         } ,  
                         / /   v a r s   u s e d   i n   f u n c   l a t e r  
                         s t r i p ,   p a d ,   c s s H e i g h t ,   j ,   b o t ,   d ,   d s ,   b w ,   i ,   w ,   e ,   c ,   c o m m o n ,   $ h o r z ;  
                  
                 i f   (   ! o p t s . T L   & &   ! o p t s . T R   & &   ! o p t s . B L   & &   ! o p t s . B R   )  
                         o p t s   =   {   T L : 1 ,   T R : 1 ,   B L : 1 ,   B R : 1   } ;  
                          
                 / /   s u p p o r t   n a t i v e   r o u n d i n g  
                 i f   ( $ . f n . c o r n e r . d e f a u l t s . u s e N a t i v e   & &   f x   = =   ' r o u n d '   & &   ( r a d i u s   | |   m o z   | |   w e b k i t )   & &   ! c c   & &   ! s c )   {  
                         i f   ( o p t s . T L )  
                                 $ t h i s . c s s ( r a d i u s   ?   ' b o r d e r - t o p - l e f t - r a d i u s '   :   m o z   ?   ' - m o z - b o r d e r - r a d i u s - t o p l e f t '   :   ' - w e b k i t - b o r d e r - t o p - l e f t - r a d i u s ' ,   w i d t h   +   ' p x ' ) ;  
                         i f   ( o p t s . T R )  
                                 $ t h i s . c s s ( r a d i u s   ?   ' b o r d e r - t o p - r i g h t - r a d i u s '   :   m o z   ?   ' - m o z - b o r d e r - r a d i u s - t o p r i g h t '   :   ' - w e b k i t - b o r d e r - t o p - r i g h t - r a d i u s ' ,   w i d t h   +   ' p x ' ) ;  
                         i f   ( o p t s . B L )  
                                 $ t h i s . c s s ( r a d i u s   ?   ' b o r d e r - b o t t o m - l e f t - r a d i u s '   :   m o z   ?   ' - m o z - b o r d e r - r a d i u s - b o t t o m l e f t '   :   ' - w e b k i t - b o r d e r - b o t t o m - l e f t - r a d i u s ' ,   w i d t h   +   ' p x ' ) ;  
                         i f   ( o p t s . B R )  
                                 $ t h i s . c s s ( r a d i u s   ?   ' b o r d e r - b o t t o m - r i g h t - r a d i u s '   :   m o z   ?   ' - m o z - b o r d e r - r a d i u s - b o t t o m r i g h t '   :   ' - w e b k i t - b o r d e r - b o t t o m - r i g h t - r a d i u s ' ,   w i d t h   +   ' p x ' ) ;  
                         r e t u r n ;  
                 }  
                          
                 s t r i p   =   d o c u m e n t . c r e a t e E l e m e n t ( ' d i v ' ) ;  
                 $ ( s t r i p ) . c s s ( {  
                         o v e r f l o w :   ' h i d d e n ' ,  
                         h e i g h t :   ' 1 p x ' ,  
                         m i n H e i g h t :   ' 1 p x ' ,  
                         f o n t S i z e :   ' 1 p x ' ,  
                         b a c k g r o u n d C o l o r :   s c   | |   ' t r a n s p a r e n t ' ,  
                         b o r d e r S t y l e :   ' s o l i d '  
                 } ) ;  
          
                 p a d   =   {  
                         T :   p a r s e I n t ( $ . c s s ( t h i s , ' p a d d i n g T o p ' ) ) | | 0 ,           R :   p a r s e I n t ( $ . c s s ( t h i s , ' p a d d i n g R i g h t ' ) ) | | 0 ,  
                         B :   p a r s e I n t ( $ . c s s ( t h i s , ' p a d d i n g B o t t o m ' ) ) | | 0 ,     L :   p a r s e I n t ( $ . c s s ( t h i s , ' p a d d i n g L e f t ' ) ) | | 0  
                 } ;  
  
                 i f   ( t y p e o f   t h i s . s t y l e . z o o m   ! =   u n d e f i n e d )   t h i s . s t y l e . z o o m   =   1 ;   / /   f o r c e   ' h a s L a y o u t '   i n   I E  
                 i f   ( ! k e e p )   t h i s . s t y l e . b o r d e r   =   ' n o n e ' ;  
                 s t r i p . s t y l e . b o r d e r C o l o r   =   c c   | |   g p c ( t h i s . p a r e n t N o d e ) ;  
                 c s s H e i g h t   =   $ ( t h i s ) . o u t e r H e i g h t ( ) ;  
  
                 f o r   ( j   i n   e d g e s )   {  
                         b o t   =   e d g e s [ j ] ;  
                         / /   o n l y   a d d   s t i p s   i f   n e e d e d  
                         i f   ( ( b o t   & &   ( o p t s . B L   | |   o p t s . B R ) )   | |   ( ! b o t   & &   ( o p t s . T L   | |   o p t s . T R ) ) )   {  
                                 s t r i p . s t y l e . b o r d e r S t y l e   =   ' n o n e   ' + ( o p t s [ j + ' R ' ] ? ' s o l i d ' : ' n o n e ' ) + '   n o n e   ' + ( o p t s [ j + ' L ' ] ? ' s o l i d ' : ' n o n e ' ) ;  
                                 d   =   d o c u m e n t . c r e a t e E l e m e n t ( ' d i v ' ) ;  
                                 $ ( d ) . a d d C l a s s ( ' j q u e r y - c o r n e r ' ) ;  
                                 d s   =   d . s t y l e ;  
  
                                 b o t   ?   t h i s . a p p e n d C h i l d ( d )   :   t h i s . i n s e r t B e f o r e ( d ,   t h i s . f i r s t C h i l d ) ;  
  
                                 i f   ( b o t   & &   c s s H e i g h t   ! =   ' a u t o ' )   {  
                                         i f   ( $ . c s s ( t h i s , ' p o s i t i o n ' )   = =   ' s t a t i c ' )  
                                                 t h i s . s t y l e . p o s i t i o n   =   ' r e l a t i v e ' ;  
                                         d s . p o s i t i o n   =   ' a b s o l u t e ' ;  
                                         d s . b o t t o m   =   d s . l e f t   =   d s . p a d d i n g   =   d s . m a r g i n   =   ' 0 ' ;  
                                         i f   ( e x p r )  
                                                 d s . s e t E x p r e s s i o n ( ' w i d t h ' ,   ' t h i s . p a r e n t N o d e . o f f s e t W i d t h ' ) ;  
                                         e l s e  
                                                 d s . w i d t h   =   ' 1 0 0 % ' ;  
                                 }  
                                 e l s e   i f   ( ! b o t   & &   $ . b r o w s e r . m s i e )   {  
                                         i f   ( $ . c s s ( t h i s , ' p o s i t i o n ' )   = =   ' s t a t i c ' )  
                                                 t h i s . s t y l e . p o s i t i o n   =   ' r e l a t i v e ' ;  
                                         d s . p o s i t i o n   =   ' a b s o l u t e ' ;  
                                         d s . t o p   =   d s . l e f t   =   d s . r i g h t   =   d s . p a d d i n g   =   d s . m a r g i n   =   ' 0 ' ;  
                                          
                                         / /   f i x   i e 6   p r o b l e m   w h e n   b l o c k e d   e l e m e n t   h a s   a   b o r d e r   w i d t h  
                                         i f   ( e x p r )   {  
                                                 b w   =   s z ( t h i s , ' b o r d e r L e f t W i d t h ' )   +   s z ( t h i s , ' b o r d e r R i g h t W i d t h ' ) ;  
                                                 d s . s e t E x p r e s s i o n ( ' w i d t h ' ,   ' t h i s . p a r e n t N o d e . o f f s e t W i d t h   -   ' + b w + ' +   " p x " ' ) ;  
                                         }  
                                         e l s e  
                                                 d s . w i d t h   =   ' 1 0 0 % ' ;  
                                 }  
                                 e l s e   {  
                                         d s . p o s i t i o n   =   ' r e l a t i v e ' ;  
                                         d s . m a r g i n   =   ! b o t   ?   ' - ' + p a d . T + ' p x   - ' + p a d . R + ' p x   ' + ( p a d . T - w i d t h ) + ' p x   - ' + p a d . L + ' p x '   :    
                                                                                 ( p a d . B - w i d t h ) + ' p x   - ' + p a d . R + ' p x   - ' + p a d . B + ' p x   - ' + p a d . L + ' p x ' ;                                  
                                 }  
  
                                 f o r   ( i = 0 ;   i   <   w i d t h ;   i + + )   {  
                                         w   =   M a t h . m a x ( 0 , g e t W i d t h ( f x , i ,   w i d t h ) ) ;  
                                         e   =   s t r i p . c l o n e N o d e ( f a l s e ) ;  
                                         e . s t y l e . b o r d e r W i d t h   =   ' 0   ' + ( o p t s [ j + ' R ' ] ? w : 0 ) + ' p x   0   ' + ( o p t s [ j + ' L ' ] ? w : 0 ) + ' p x ' ;  
                                         b o t   ?   d . a p p e n d C h i l d ( e )   :   d . i n s e r t B e f o r e ( e ,   d . f i r s t C h i l d ) ;  
                                 }  
                                  
                                 i f   ( f o l d   & &   $ . s u p p o r t . b o x M o d e l )   {  
                                         i f   ( b o t   & &   n o B o t t o m F o l d )   c o n t i n u e ;  
                                         f o r   ( c   i n   o p t s )   {  
                                                 i f   ( ! o p t s [ c ] )   c o n t i n u e ;  
                                                 i f   ( b o t   & &   ( c   = =   ' T L '   | |   c   = =   ' T R ' ) )   c o n t i n u e ;  
                                                 i f   ( ! b o t   & &   ( c   = =   ' B L '   | |   c   = =   ' B R ' ) )   c o n t i n u e ;  
                                                  
                                                 c o m m o n   =   {   p o s i t i o n :   ' a b s o l u t e ' ,   b o r d e r :   ' n o n e ' ,   m a r g i n :   0 ,   p a d d i n g :   0 ,   o v e r f l o w :   ' h i d d e n ' ,   b a c k g r o u n d C o l o r :   s t r i p . s t y l e . b o r d e r C o l o r   } ;  
                                                 $ h o r z   =   $ ( ' < d i v / > ' ) . c s s ( c o m m o n ) . c s s ( {   w i d t h :   w i d t h   +   ' p x ' ,   h e i g h t :   ' 1 p x '   } ) ;  
                                                 s w i t c h ( c )   {  
                                                 c a s e   ' T L ' :   $ h o r z . c s s ( {   b o t t o m :   0 ,   l e f t :   0   } ) ;   b r e a k ;  
                                                 c a s e   ' T R ' :   $ h o r z . c s s ( {   b o t t o m :   0 ,   r i g h t :   0   } ) ;   b r e a k ;  
                                                 c a s e   ' B L ' :   $ h o r z . c s s ( {   t o p :   0 ,   l e f t :   0   } ) ;   b r e a k ;  
                                                 c a s e   ' B R ' :   $ h o r z . c s s ( {   t o p :   0 ,   r i g h t :   0   } ) ;   b r e a k ;  
                                                 }  
                                                 d . a p p e n d C h i l d ( $ h o r z [ 0 ] ) ;  
                                                  
                                                 v a r   $ v e r t   =   $ ( ' < d i v / > ' ) . c s s ( c o m m o n ) . c s s ( {   t o p :   0 ,   b o t t o m :   0 ,   w i d t h :   ' 1 p x ' ,   h e i g h t :   w i d t h   +   ' p x '   } ) ;  
                                                 s w i t c h ( c )   {  
                                                 c a s e   ' T L ' :   $ v e r t . c s s ( {   l e f t :   w i d t h   } ) ;   b r e a k ;  
                                                 c a s e   ' T R ' :   $ v e r t . c s s ( {   r i g h t :   w i d t h   } ) ;   b r e a k ;  
                                                 c a s e   ' B L ' :   $ v e r t . c s s ( {   l e f t :   w i d t h   } ) ;   b r e a k ;  
                                                 c a s e   ' B R ' :   $ v e r t . c s s ( {   r i g h t :   w i d t h   } ) ;   b r e a k ;  
                                                 }  
                                                 d . a p p e n d C h i l d ( $ v e r t [ 0 ] ) ;  
                                         }  
                                 }  
                         }  
                 }  
         } ) ;  
 } ;  
  
 $ . f n . u n c o r n e r   =   f u n c t i o n ( )   {    
         i f   ( r a d i u s   | |   m o z   | |   w e b k i t )  
                 t h i s . c s s ( r a d i u s   ?   ' b o r d e r - r a d i u s '   :   m o z   ?   ' - m o z - b o r d e r - r a d i u s '   :   ' - w e b k i t - b o r d e r - r a d i u s ' ,   0 ) ;  
         $ ( ' d i v . j q u e r y - c o r n e r ' ,   t h i s ) . r e m o v e ( ) ;  
         r e t u r n   t h i s ;  
 } ;  
  
 / /   e x p o s e   o p t i o n s  
 $ . f n . c o r n e r . d e f a u l t s   =   {  
         u s e N a t i v e :   t r u e ,   / /   t r u e   i f   p l u g i n   s h o u l d   a t t e m p t   t o   u s e   n a t i v e   b r o w s e r   s u p p o r t   f o r   b o r d e r   r a d i u s   r o u n d i n g  
         m e t a A t t r :     ' d a t a - c o r n e r '   / /   n a m e   o f   m e t a   a t t r i b u t e   t o   u s e   f o r   o p t i o n s  
 } ;  
          
 } ) ( j Q u e r y ) ;  
 
