Skip to content

Commit 7dd4edb

Browse files
authored
Revert "Disable specific vendors" (barryvdh#764)
* Revert "Make sure guards is array" This reverts commit d5c46b6. * Revert "Add newline character. (barryvdh#477)" This reverts commit 9ea44af. * Revert "Disable specific vendors (barryvdh#339)" This reverts commit a3858e5.
1 parent d5c46b6 commit 7dd4edb

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

config/debugbar.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,6 @@
5555

5656
'include_vendors' => true,
5757

58-
/*
59-
|--------------------------------------------------------------------------
60-
| Disable Vendors
61-
|--------------------------------------------------------------------------
62-
|
63-
| Could be easily disable specific vendor by setting following array.
64-
| You should inject jquery library manually.
65-
| Options: 'jquery', 'highlightjs', 'fontawesome'.
66-
|
67-
*/
68-
69-
'disableVendors' => [],
70-
7158
/*
7259
|--------------------------------------------------------------------------
7360
| Capture Ajax Requests

src/LaravelDebugbar.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,6 @@ function ($query, $bindings = null, $time = null, $connectionName = null) use ($
483483
}
484484

485485
$renderer = $this->getJavascriptRenderer();
486-
$disableVendors = $this->app['config']->get('debugbar.disableVendors', []);
487-
if (!empty($disableVendors)) {
488-
foreach($disableVendors as $vendor) {
489-
$renderer->disableVendor($vendor);
490-
{
491-
}
492486
$renderer->setIncludeVendors($this->app['config']->get('debugbar.include_vendors', true));
493487
$renderer->setBindAjaxHandlerToXHR($app['config']->get('debugbar.capture_ajax', true));
494488

0 commit comments

Comments
 (0)