Skip to content

Commit 694f696

Browse files
committed
Merge pull request laravel#1063 from stayallive/develop
Changed jQuery '$' to 'jQuery' in the Profiler
2 parents 4d25f50 + f0e261c commit 694f696

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

laravel/profiling/profiler.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ var anbu = {
66
// the DOM every time they are used.
77

88
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')
2323
},
2424

2525
// CLASS ATTRIBUTES
@@ -30,7 +30,7 @@ var anbu = {
3030
is_zoomed: false,
3131

3232
// initial height of content area
33-
small_height: $('.anbu-content-area').height(),
33+
small_height: jQuery('.anbu-content-area').height(),
3434

3535
// the name of the active tab css
3636
active_tab: 'anbu-active-tab',
@@ -76,7 +76,7 @@ var anbu = {
7676
event.preventDefault();
7777
});
7878
anbu.el.tab.click(function(event) {
79-
anbu.clicked_tab($(this));
79+
anbu.clicked_tab(jQuery(this));
8080
event.preventDefault();
8181
});
8282

@@ -104,8 +104,8 @@ var anbu = {
104104
open_window: function(tab) {
105105

106106
// 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);
109109
anbu.el.tab_links.removeClass(anbu.active_tab);
110110
tab.addClass(anbu.active_tab);
111111
anbu.el.window.slideDown(300);
@@ -178,7 +178,7 @@ var anbu = {
178178
anbu.is_zoomed = false;
179179
} else {
180180
// 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';
182182
anbu.is_zoomed = true;
183183
}
184184

0 commit comments

Comments
 (0)