Skip to content

Commit

Permalink
Assoto\JS::file() fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kktsvetkov committed Nov 22, 2018
1 parent 286676c commit 4177d5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
composer.lock
vendor
2 changes: 1 addition & 1 deletion src/JS.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static function file($script, $id = '', array $extra = array(), $stack =

return Stack::add(
(string) $stack,
'<script ' . HTML::attributes($extra) . '/>',
'<script ' . HTML::attributes($extra) . '></script>',
'js:' . $id
);
}
Expand Down

0 comments on commit 4177d5b

Please sign in to comment.