diff --git a/src/DebugBar/DebugBar.php b/src/DebugBar/DebugBar.php index 5b46a40..2c7b824 100644 --- a/src/DebugBar/DebugBar.php +++ b/src/DebugBar/DebugBar.php @@ -416,12 +416,14 @@ class DebugBar implements ArrayAccess /** * Returns a JavascriptRenderer for this instance * + * @param stri $baseUrl + * @param string $basePathng * @return JavascriptRenderer */ - public function getJavascriptRenderer() + public function getJavascriptRenderer($baseUrl = null, $basePath = null) { if ($this->jsRenderer === null) { - $this->jsRenderer = new JavascriptRenderer($this); + $this->jsRenderer = new JavascriptRenderer($this, $baseUrl, $basePath); } return $this->jsRenderer; }