Skip to content

Commit

Permalink
Modify svelte to allow hydrating HTML wrapper (#65).
Browse files Browse the repository at this point in the history
  • Loading branch information
jimafisk committed Oct 22, 2020
1 parent 3ddc7a5 commit bf6a765
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion defaults_node_modules/svelte/internal/index.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion generated/defaults_node_modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -32136,7 +32136,9 @@ function append(target, node) {
target.appendChild(node);
}
function insert(target, node, anchor) {
target.insertBefore(node, anchor || null);
if (target != document) {
target.insertBefore(node, anchor || null);
}
}
function detach(node) {
node.parentNode.removeChild(node);
Expand Down

0 comments on commit bf6a765

Please sign in to comment.