@@ -6,20 +6,20 @@ var anbu = {
6
6
// the DOM every time they are used.
7
7
8
8
el : {
9
- main : $ ( '.anbu' ) ,
10
- close : $ ( '#anbu-close' ) ,
11
- zoom : $ ( '#anbu-zoom' ) ,
12
- hide : $ ( '#anbu-hide' ) ,
13
- show : $ ( '#anbu-show' ) ,
14
- tab_pane : $ ( '.anbu-tab-pane' ) ,
15
- hidden_tab_pane : $ ( '.anbu-tab-pane:visible' ) ,
16
- tab : $ ( '.anbu-tab' ) ,
17
- tabs : $ ( '.anbu-tabs' ) ,
18
- tab_links : $ ( '.anbu-tabs a' ) ,
19
- window : $ ( '.anbu-window' ) ,
20
- closed_tabs : $ ( '#anbu-closed-tabs' ) ,
21
- open_tabs : $ ( '#anbu-open-tabs' ) ,
22
- content_area : $ ( '.anbu-content-area' )
9
+ main : jQuery ( '.anbu' ) ,
10
+ close : jQuery ( '#anbu-close' ) ,
11
+ zoom : jQuery ( '#anbu-zoom' ) ,
12
+ hide : jQuery ( '#anbu-hide' ) ,
13
+ show : jQuery ( '#anbu-show' ) ,
14
+ tab_pane : jQuery ( '.anbu-tab-pane' ) ,
15
+ hidden_tab_pane : jQuery ( '.anbu-tab-pane:visible' ) ,
16
+ tab : jQuery ( '.anbu-tab' ) ,
17
+ tabs : jQuery ( '.anbu-tabs' ) ,
18
+ tab_links : jQuery ( '.anbu-tabs a' ) ,
19
+ window : jQuery ( '.anbu-window' ) ,
20
+ closed_tabs : jQuery ( '#anbu-closed-tabs' ) ,
21
+ open_tabs : jQuery ( '#anbu-open-tabs' ) ,
22
+ content_area : jQuery ( '.anbu-content-area' )
23
23
} ,
24
24
25
25
// CLASS ATTRIBUTES
@@ -30,7 +30,7 @@ var anbu = {
30
30
is_zoomed : false ,
31
31
32
32
// initial height of content area
33
- small_height : $ ( '.anbu-content-area' ) . height ( ) ,
33
+ small_height : jQuery ( '.anbu-content-area' ) . height ( ) ,
34
34
35
35
// the name of the active tab css
36
36
active_tab : 'anbu-active-tab' ,
@@ -76,7 +76,7 @@ var anbu = {
76
76
event . preventDefault ( ) ;
77
77
} ) ;
78
78
anbu . el . tab . click ( function ( event ) {
79
- anbu . clicked_tab ( $ ( this ) ) ;
79
+ anbu . clicked_tab ( jQuery ( this ) ) ;
80
80
event . preventDefault ( ) ;
81
81
} ) ;
82
82
@@ -104,8 +104,8 @@ var anbu = {
104
104
open_window : function ( tab ) {
105
105
106
106
// can't directly assign this line, but it works
107
- $ ( '.anbu-tab-pane:visible' ) . fadeOut ( 200 ) ;
108
- $ ( '.' + tab . attr ( anbu . tab_data ) ) . delay ( 220 ) . fadeIn ( 300 ) ;
107
+ jQuery ( '.anbu-tab-pane:visible' ) . fadeOut ( 200 ) ;
108
+ jQuery ( '.' + tab . attr ( anbu . tab_data ) ) . delay ( 220 ) . fadeIn ( 300 ) ;
109
109
anbu . el . tab_links . removeClass ( anbu . active_tab ) ;
110
110
tab . addClass ( anbu . active_tab ) ;
111
111
anbu . el . window . slideDown ( 300 ) ;
@@ -178,7 +178,7 @@ var anbu = {
178
178
anbu . is_zoomed = false ;
179
179
} else {
180
180
// the 6px is padding on the top of the window
181
- height = ( $ ( window ) . height ( ) - anbu . el . tabs . height ( ) - 6 ) + 'px' ;
181
+ height = ( jQuery ( window ) . height ( ) - anbu . el . tabs . height ( ) - 6 ) + 'px' ;
182
182
anbu . is_zoomed = true ;
183
183
}
184
184
0 commit comments