Skip to content

Commit

Permalink
Revert "Disable specific vendors" (barryvdh#764)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
barryvdh authored Dec 27, 2017
1 parent d5c46b6 commit 7dd4edb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
13 changes: 0 additions & 13 deletions config/debugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,6 @@

'include_vendors' => true,

/*
|--------------------------------------------------------------------------
| Disable Vendors
|--------------------------------------------------------------------------
|
| Could be easily disable specific vendor by setting following array.
| You should inject jquery library manually.
| Options: 'jquery', 'highlightjs', 'fontawesome'.
|
*/

'disableVendors' => [],

/*
|--------------------------------------------------------------------------
| Capture Ajax Requests
Expand Down
6 changes: 0 additions & 6 deletions src/LaravelDebugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,12 +483,6 @@ function ($query, $bindings = null, $time = null, $connectionName = null) use ($
}

$renderer = $this->getJavascriptRenderer();
$disableVendors = $this->app['config']->get('debugbar.disableVendors', []);
if (!empty($disableVendors)) {
foreach($disableVendors as $vendor) {
$renderer->disableVendor($vendor);
{
}
$renderer->setIncludeVendors($this->app['config']->get('debugbar.include_vendors', true));
$renderer->setBindAjaxHandlerToXHR($app['config']->get('debugbar.capture_ajax', true));

Expand Down

0 comments on commit 7dd4edb

Please sign in to comment.