Skip to content

Commit

Permalink
Print extra JS data when handling a group with no src attribute.
Browse files Browse the repository at this point in the history
Fixes #39
  • Loading branch information
rogertheriault committed Jun 15, 2018
1 parent b38a831 commit 4bc494e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jsconcat.php
Expand Up @@ -48,6 +48,8 @@ function do_items( $handles = false, $group = false ) {
continue;

if ( ! $this->registered[$handle]->src ) { // Defines a group.
// if there are localized items, echo them
$this->print_extra_script( $handle );
$this->done[] = $handle;
continue;
}
Expand Down

0 comments on commit 4bc494e

Please sign in to comment.