forked from osscameroon/js-generator
-
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.
update: Issue osscameroon#240 updating the counter initial value from…
… 0 to 1 - PR osscameroon#264 workflow bug (osscameroon#266) * update: Issue osscameroon#240 updating the counter initial value from 0 to 1 - PR osscameroon#264 workflow bug * trying to make test fail * Undo "trying to make test fail" * undo changes * update: resolves osscameroon#267 trigger the Javadoc Workflow only if .github/workflows/javadoc.yml, jsgenerator-core/ or pom.xml has changed * docs: delete the title's full stop * update: Issue osscameroon#240 updating the counter initial value from 0 to 1 - PR osscameroon#264 workflow bug * trying to make test fail * Undo "trying to make test fail" * undo changes * fix: fix tests on jsgenerator-core * fix: fix tests on jsgenerator-api
- Loading branch information
Showing
9 changed files
with
1,567 additions
and
1,568 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
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
188 changes: 94 additions & 94 deletions
188
.../test/resources/jsFilesOutput/querySelectorAdded/commentConversionModeActivated/sample.js
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,104 +1,104 @@ | ||
{{keyword}} targetElement_000 = document.querySelector(`:root > body`); | ||
{{keyword}} html_000 = document.createElement('html'); | ||
{{keyword}} text_000 = document.createTextNode(` `); | ||
html_000.appendChild(text_000); | ||
{{keyword}} head_000 = document.createElement('head'); | ||
{{keyword}} text_001 = document.createTextNode(` `); | ||
head_000.appendChild(text_001); | ||
{{keyword}} meta_000 = document.createElement('meta'); | ||
meta_000.setAttribute(`charset`, `utf-8`); | ||
head_000.appendChild(meta_000); | ||
{{keyword}} targetElement_001 = document.querySelector(`:root > body`); | ||
{{keyword}} html_001 = document.createElement('html'); | ||
{{keyword}} text_001 = document.createTextNode(` `); | ||
html_001.appendChild(text_001); | ||
{{keyword}} head_001 = document.createElement('head'); | ||
{{keyword}} text_002 = document.createTextNode(` `); | ||
head_000.appendChild(text_002); | ||
{{keyword}} title_000 = document.createElement('title'); | ||
{{keyword}} text_003 = document.createTextNode(`Sample`); | ||
title_000.appendChild(text_003); | ||
head_000.appendChild(title_000); | ||
{{keyword}} text_004 = document.createTextNode(` `); | ||
head_000.appendChild(text_004); | ||
{{keyword}} link_000 = document.createElement('link'); | ||
link_000.setAttribute(`rel`, `stylesheet`); | ||
link_000.setAttribute(`href`, ``); | ||
head_000.appendChild(link_000); | ||
{{keyword}} text_005 = document.createTextNode(` `); | ||
head_000.appendChild(text_005); | ||
html_000.appendChild(head_000); | ||
head_001.appendChild(text_002); | ||
{{keyword}} meta_001 = document.createElement('meta'); | ||
meta_001.setAttribute(`charset`, `utf-8`); | ||
head_001.appendChild(meta_001); | ||
{{keyword}} text_003 = document.createTextNode(` `); | ||
head_001.appendChild(text_003); | ||
{{keyword}} title_001 = document.createElement('title'); | ||
{{keyword}} text_004 = document.createTextNode(`Sample`); | ||
title_001.appendChild(text_004); | ||
head_001.appendChild(title_001); | ||
{{keyword}} text_005 = document.createTextNode(` `); | ||
head_001.appendChild(text_005); | ||
{{keyword}} link_001 = document.createElement('link'); | ||
link_001.setAttribute(`rel`, `stylesheet`); | ||
link_001.setAttribute(`href`, ``); | ||
head_001.appendChild(link_001); | ||
{{keyword}} text_006 = document.createTextNode(` `); | ||
html_000.appendChild(text_006); | ||
{{keyword}} body_000 = document.createElement('body'); | ||
{{keyword}} text_007 = document.createTextNode(` `); | ||
body_000.appendChild(text_007); | ||
{{keyword}} div_000 = document.createElement('div'); | ||
div_000.setAttribute(`id`, `container`); | ||
{{keyword}} text_008 = document.createTextNode(` `); | ||
div_000.appendChild(text_008); | ||
head_001.appendChild(text_006); | ||
html_001.appendChild(head_001); | ||
{{keyword}} text_007 = document.createTextNode(` `); | ||
html_001.appendChild(text_007); | ||
{{keyword}} body_001 = document.createElement('body'); | ||
{{keyword}} text_008 = document.createTextNode(` `); | ||
body_001.appendChild(text_008); | ||
{{keyword}} div_001 = document.createElement('div'); | ||
div_001.setAttribute(`id`, `header`); | ||
{{keyword}} text_009 = document.createTextNode(` `); | ||
div_001.setAttribute(`id`, `container`); | ||
{{keyword}} text_009 = document.createTextNode(` `); | ||
div_001.appendChild(text_009); | ||
{{keyword}} comment_000 = document.createComment(` Sample H1 `); | ||
div_001.appendChild(comment_000); | ||
{{keyword}} text_010 = document.createTextNode(` `); | ||
div_001.appendChild(text_010); | ||
{{keyword}} h1_000 = document.createElement('h1'); | ||
{{keyword}} text_011 = document.createTextNode(`Sample`); | ||
h1_000.appendChild(text_011); | ||
div_001.appendChild(h1_000); | ||
{{keyword}} text_012 = document.createTextNode(` `); | ||
div_001.appendChild(text_012); | ||
{{keyword}} img_000 = document.createElement('img'); | ||
img_000.setAttribute(`src`, `kanye.jpg`); | ||
img_000.setAttribute(`alt`, `kanye`); | ||
div_001.appendChild(img_000); | ||
{{keyword}} text_013 = document.createTextNode(` `); | ||
div_001.appendChild(text_013); | ||
div_000.appendChild(div_001); | ||
{{keyword}} text_014 = document.createTextNode(` `); | ||
div_000.appendChild(text_014); | ||
{{keyword}} div_002 = document.createElement('div'); | ||
div_002.setAttribute(`id`, `main`); | ||
{{keyword}} text_015 = document.createTextNode(` `); | ||
div_002.appendChild(text_015); | ||
{{keyword}} h2_000 = document.createElement('h2'); | ||
{{keyword}} text_016 = document.createTextNode(`Main`); | ||
h2_000.appendChild(text_016); | ||
div_002.appendChild(h2_000); | ||
{{keyword}} text_017 = document.createTextNode(` `); | ||
div_002.appendChild(text_017); | ||
{{keyword}} p_000 = document.createElement('p'); | ||
{{keyword}} text_018 = document.createTextNode(`This is the main content.`); | ||
p_000.appendChild(text_018); | ||
div_002.appendChild(p_000); | ||
{{keyword}} text_019 = document.createTextNode(` `); | ||
div_002.appendChild(text_019); | ||
div_002.setAttribute(`id`, `header`); | ||
{{keyword}} text_010 = document.createTextNode(` `); | ||
div_002.appendChild(text_010); | ||
{{keyword}} comment_001 = document.createComment(` Sample H1 `); | ||
div_002.appendChild(comment_001); | ||
{{keyword}} text_011 = document.createTextNode(` `); | ||
div_002.appendChild(text_011); | ||
{{keyword}} h1_001 = document.createElement('h1'); | ||
{{keyword}} text_012 = document.createTextNode(`Sample`); | ||
h1_001.appendChild(text_012); | ||
div_002.appendChild(h1_001); | ||
{{keyword}} text_013 = document.createTextNode(` `); | ||
div_002.appendChild(text_013); | ||
{{keyword}} img_001 = document.createElement('img'); | ||
img_001.setAttribute(`src`, ``); | ||
img_001.setAttribute(`alt`, ``); | ||
img_001.setAttribute(`src`, `kanye.jpg`); | ||
img_001.setAttribute(`alt`, `kanye`); | ||
div_002.appendChild(img_001); | ||
{{keyword}} text_020 = document.createTextNode(` `); | ||
div_002.appendChild(text_020); | ||
div_000.appendChild(div_002); | ||
{{keyword}} text_021 = document.createTextNode(` `); | ||
div_000.appendChild(text_021); | ||
{{keyword}} text_014 = document.createTextNode(` `); | ||
div_002.appendChild(text_014); | ||
div_001.appendChild(div_002); | ||
{{keyword}} text_015 = document.createTextNode(` `); | ||
div_001.appendChild(text_015); | ||
{{keyword}} div_003 = document.createElement('div'); | ||
div_003.setAttribute(`id`, `footer`); | ||
{{keyword}} text_022 = document.createTextNode(` `); | ||
div_003.appendChild(text_022); | ||
{{keyword}} comment_001 = document.createComment(` Copyright `); | ||
div_003.appendChild(comment_001); | ||
{{keyword}} text_023 = document.createTextNode(` `); | ||
div_003.appendChild(text_023); | ||
div_003.setAttribute(`id`, `main`); | ||
{{keyword}} text_016 = document.createTextNode(` `); | ||
div_003.appendChild(text_016); | ||
{{keyword}} h2_001 = document.createElement('h2'); | ||
{{keyword}} text_017 = document.createTextNode(`Main`); | ||
h2_001.appendChild(text_017); | ||
div_003.appendChild(h2_001); | ||
{{keyword}} text_018 = document.createTextNode(` `); | ||
div_003.appendChild(text_018); | ||
{{keyword}} p_001 = document.createElement('p'); | ||
{{keyword}} text_024 = document.createTextNode(`Copyright © 2019`); | ||
p_001.appendChild(text_024); | ||
{{keyword}} text_019 = document.createTextNode(`This is the main content.`); | ||
p_001.appendChild(text_019); | ||
div_003.appendChild(p_001); | ||
{{keyword}} text_025 = document.createTextNode(` `); | ||
div_003.appendChild(text_025); | ||
div_000.appendChild(div_003); | ||
{{keyword}} text_026 = document.createTextNode(` `); | ||
div_000.appendChild(text_026); | ||
body_000.appendChild(div_000); | ||
{{keyword}} text_027 = document.createTextNode(` `); | ||
body_000.appendChild(text_027); | ||
html_000.appendChild(body_000); | ||
targetElement_000.appendChild(html_000); | ||
{{keyword}} text_020 = document.createTextNode(` `); | ||
div_003.appendChild(text_020); | ||
{{keyword}} img_002 = document.createElement('img'); | ||
img_002.setAttribute(`src`, ``); | ||
img_002.setAttribute(`alt`, ``); | ||
div_003.appendChild(img_002); | ||
{{keyword}} text_021 = document.createTextNode(` `); | ||
div_003.appendChild(text_021); | ||
div_001.appendChild(div_003); | ||
{{keyword}} text_022 = document.createTextNode(` `); | ||
div_001.appendChild(text_022); | ||
{{keyword}} div_004 = document.createElement('div'); | ||
div_004.setAttribute(`id`, `footer`); | ||
{{keyword}} text_023 = document.createTextNode(` `); | ||
div_004.appendChild(text_023); | ||
{{keyword}} comment_002 = document.createComment(` Copyright `); | ||
div_004.appendChild(comment_002); | ||
{{keyword}} text_024 = document.createTextNode(` `); | ||
div_004.appendChild(text_024); | ||
{{keyword}} p_002 = document.createElement('p'); | ||
{{keyword}} text_025 = document.createTextNode(`Copyright © 2019`); | ||
p_002.appendChild(text_025); | ||
div_004.appendChild(p_002); | ||
{{keyword}} text_026 = document.createTextNode(` `); | ||
div_004.appendChild(text_026); | ||
div_001.appendChild(div_004); | ||
{{keyword}} text_027 = document.createTextNode(` `); | ||
div_001.appendChild(text_027); | ||
body_001.appendChild(div_001); | ||
{{keyword}} text_028 = document.createTextNode(` `); | ||
body_001.appendChild(text_028); | ||
html_001.appendChild(body_001); | ||
targetElement_001.appendChild(html_001); |
Oops, something went wrong.