Skip to content

Commit

Permalink
fix: remove unused options reference
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Jun 2, 2023
1 parent ec2928c commit 7ad201e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion classes/ScriptsArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public function render($options = [])
'debug' => $this->wire->config->debug,
'indent' => ' ',
]);
$opt->setArray($this->options);
$opt->setArray($options);

$out = $this->renderAssets($opt);
Expand Down
3 changes: 0 additions & 3 deletions classes/StylesArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@ public function render($options = [])
{
if (is_string($options)) $options = ['indent' => $options];

// TODO make API version of options to support hook injected assets

// setup options
$opt = $this->wire(new WireData());
/** @var WireData $opt */
Expand All @@ -200,7 +198,6 @@ public function render($options = [])
'cssName' => $this->name,
'sourcemaps' => $this->wire->config->debug,
]);
$opt->setArray($this->options);
$opt->setArray($options);

// make sure that cssDir is a relative path
Expand Down

0 comments on commit 7ad201e

Please sign in to comment.