CodeExplorer collectPluginJavascript example
public function collectJavascriptFiles(Shop\Template
$template, Shop\Shop
$shop) { $inheritances =
$this->inheritance->
buildInheritances($template);
$definitions =
$this->
collectInheritanceJavascript($inheritances['bare'
]);
$definitions =
array_merge( $definitions,
$this->
collectPluginJavascript($shop,
$template) );
$definitions =
array_merge( $definitions,
$this->
collectInheritanceJavascript($inheritances['custom'
]) );
$discardJs =
[];
for ($i = \
count($definitions) - 1;
$i >= 0; --
$i) { $definition =
$definitions[$i];