From ad57ae4fdfe10256dfbf541b65633f82a409d525 Mon Sep 17 00:00:00 2001 From: Dayle Rees Date: Wed, 4 Apr 2012 18:25:29 +0100 Subject: [PATCH] jquery loading and css fixes --- laravel/profiling/profiler.css | 1 + laravel/profiling/profiler.php | 13 ------------- laravel/profiling/template.blade.php | 2 +- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/laravel/profiling/profiler.css b/laravel/profiling/profiler.css index 1fb4e52f..3c4ec464 100755 --- a/laravel/profiling/profiler.css +++ b/laravel/profiling/profiler.css @@ -20,6 +20,7 @@ .anbu-tabs .anbu-tabs li { display:inline; + line-height:1em !important; } .anbu-tabs a, .anbu-tabs a:visited diff --git a/laravel/profiling/profiler.php b/laravel/profiling/profiler.php index bb1ed496..9b6edfef 100644 --- a/laravel/profiling/profiler.php +++ b/laravel/profiling/profiler.php @@ -60,19 +60,6 @@ public static function query($sql, $bindings, $time) 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 = '/\(.*)\\<\/script\>(.*)\<\/head\>/'; - - return preg_match($pattern, $response->content); - } - /** * Attach the Profiler's event listeners. * diff --git a/laravel/profiling/template.blade.php b/laravel/profiling/template.blade.php index 9c6e4d24..10bc4832 100755 --- a/laravel/profiling/template.blade.php +++ b/laravel/profiling/template.blade.php @@ -64,6 +64,6 @@ - + \ No newline at end of file