jquery loading and css fixes
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user