|
|
@ -24,14 +24,14 @@ module.exports = () => { |
|
|
|
clw.className = 'changelog-wrapper'; |
|
|
|
clw.className = 'changelog-wrapper'; |
|
|
|
modal.appendChild(clw); |
|
|
|
modal.appendChild(clw); |
|
|
|
|
|
|
|
|
|
|
|
changelogs.forEach(changelog => { |
|
|
|
changelogs.reverse().forEach(changelog => { |
|
|
|
changelog = require(`../../json/changelogs/${changelog}`); |
|
|
|
changelog = require(`../../json/changelogs/${changelog}`); |
|
|
|
let w = document.createElement('div'); |
|
|
|
let w = document.createElement('div'); |
|
|
|
w.className = 'changelog-version-container'; |
|
|
|
w.className = 'changelog-version-container'; |
|
|
|
clw.appendChild(w); |
|
|
|
clw.appendChild(w); |
|
|
|
let subtitle = document.createElement('h2'); |
|
|
|
let subtitle = document.createElement('h2'); |
|
|
|
subtitle.className = 'subtitle'; |
|
|
|
subtitle.className = 'subtitle'; |
|
|
|
subtitle.innerHTML = changelog.version.name + ' ' + changelog.version.semver + (window.kade.version.name === changelog.version.name ? ' (Current)' : ''); |
|
|
|
subtitle.innerHTML = `${changelog.version.name} ${changelog.version.semver}${window.kade.version.semver === changelog.version.semver ? ' (Current)' : ''}`; |
|
|
|
w.appendChild(subtitle); |
|
|
|
w.appendChild(subtitle); |
|
|
|
let cl = changelog.log; |
|
|
|
let cl = changelog.log; |
|
|
|
Object.keys(cl).forEach(group => { |
|
|
|
Object.keys(cl).forEach(group => { |
|
|
|