forked from marko-js/marko
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request marko-js#714 from marko-js/revert-708-705-dynamic-…
…root-id-attr Revert "Fixes marko-js#705 - Throw error when the root HTML element has a dynamic id …"
- Loading branch information
Showing
5 changed files
with
4 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
test/autotests/render/error-variable-id-root-node/template.marko
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<div><div style="color: red;" id="foo-Frank">Hello Frank!</div></div> | ||
<div style="color: red;" id="foo-Frank">Hello Frank!</div> |
5 changes: 2 additions & 3 deletions
5
test/autotests/render/shorthand-div-id-dynamic/template.marko
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
div | ||
div#foo-${input.name} style="color: red;" | ||
-- Hello ${input.name}! | ||
div#foo-${input.name} style="color: red;" | ||
-- Hello ${input.name}! |