Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
ad57ae4f
Commit
ad57ae4f
authored
Apr 04, 2012
by
Dayle Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jquery loading and css fixes
parent
1c26ce8c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
14 deletions
+2
-14
profiler.css
laravel/profiling/profiler.css
+1
-0
profiler.php
laravel/profiling/profiler.php
+0
-13
template.blade.php
laravel/profiling/template.blade.php
+1
-1
No files found.
laravel/profiling/profiler.css
View file @
ad57ae4f
...
...
@@ -20,6 +20,7 @@
.anbu-tabs
li
{
display
:
inline
;
line-height
:
1em
!important
;
}
.anbu-tabs
a
,
.anbu-tabs
a
:visited
...
...
laravel/profiling/profiler.php
View file @
ad57ae4f
...
...
@@ -60,19 +60,6 @@ class Profiler {
static
::
$data
[
'queries'
][]
=
array
(
$sql
,
$time
);
}
/**
* Determine if the given response includes jQuery.
*
* @param Response $response
* @return bool
*/
protected
static
function
has_jquery
(
$response
)
{
$pattern
=
'/\<head>(.*)\<script(.+)jquery(.*)\>\<\/script\>(.*)\<\/head\>/'
;
return
preg_match
(
$pattern
,
$response
->
content
);
}
/**
* Attach the Profiler's event listeners.
*
...
...
laravel/profiling/template.blade.php
View file @
ad57ae4f
...
...
@@ -64,6 +64,6 @@
</ul>
</div>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"
>
</script>
<script
>
window
.
jQuery
||
document
.
write
(
"<script src='//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'>
\
x3C/script>"
)
</script>
<script>
{{
file_get_contents
(
path
(
'sys'
).
'profiling/profiler.js'
)
}}
</script>
<!-- /ANBU - LARAVEL PROFILER -->
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment