File tree Expand file tree Collapse file tree 4 files changed +16
-14
lines changed
Expand file tree Collapse file tree 4 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 11{
22 "NOTE" : " THERE IS NO NEED TO UPDATE THIS YOURSELF, IT WILL BE UPDATED WHEN RELEASED." ,
3- "version" : " 3.7 .0" ,
3+ "version" : " 3.8 .0" ,
44 "enhanced" : [
5- " Improve code quality." ,
6- " Remove ScratchTools Awards ads." ,
7- " Added Spanish as a language."
5+ " Update contributor names." ,
6+ " Add clicker game."
87],
98 "fixed" : [
10- " Fix Flag on Profile feature."
9+ " Fix protect mention text." ,
10+ " Fix search bar."
1111 ]
1212}
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ document.querySelector("title").textContent = "What's New in v" + version;
33document . querySelector ( "h1" ) . textContent = "What's New in v" + version ;
44
55async function getChanges ( ) {
6- var newFeatures = await ( await fetch ( "/features/features.json" ) ) . json ( ) ;
6+ var newFeatures = ( await ( await fetch ( "/features/features.json" ) ) . json ( ) ) . reverse ( ) ;
7+ let soFarI = 0
78 for ( var i in newFeatures ) {
89 var feature = newFeatures [ i ] ;
910 if ( feature . versionAdded === "v" + version || feature . versionUpdated === "v" + version ) {
@@ -24,13 +25,14 @@ async function getChanges() {
2425 var design = document . createElement ( "div" ) ;
2526 design . className = "colorful-design" ;
2627 div . prepend ( design ) ;
27- if ( i > 2 ) {
28+ if ( soFarI > 2 ) {
2829 div . className = "wide-feature feature" ;
2930 document . querySelector ( ".new-features-full" ) . prepend ( div ) ;
3031 } else {
3132 div . className = "feature" ;
3233 document . querySelector ( ".new-features" ) . prepend ( div ) ;
3334 }
35+ soFarI += 1
3436 }
3537 }
3638 const changes = await ( await fetch ( "./changes.json" ) ) . json ( ) ;
Original file line number Diff line number Diff line change 11[
22 {
33 "version" : 2 ,
4- "id" : " fullscreen-explorer " ,
4+ "id" : " sidebar " ,
55 "versionAdded" : " v3.8.0"
66 },
77 {
88 "version" : 2 ,
9- "id" : " total-stats " ,
9+ "id" : " project-version-detector " ,
1010 "versionAdded" : " v3.8.0"
1111 },
1212 {
1313 "version" : 2 ,
14- "id" : " project-miniplayer " ,
14+ "id" : " fullscreen-explorer " ,
1515 "versionAdded" : " v3.8.0"
1616 },
1717 {
2121 },
2222 {
2323 "version" : 2 ,
24- "id" : " pin-comments " ,
24+ "id" : " total-stats " ,
2525 "versionAdded" : " v3.8.0"
2626 },
2727 {
2828 "version" : 2 ,
29- "id" : " sidebar " ,
29+ "id" : " project-miniplayer " ,
3030 "versionAdded" : " v3.8.0"
3131 },
3232 {
3333 "version" : 2 ,
34- "id" : " project-version-detector " ,
34+ "id" : " pin-comments " ,
3535 "versionAdded" : " v3.8.0"
3636 },
3737 {
Original file line number Diff line number Diff line change 33 "short_name" : " ScratchTools" ,
44 "manifest_version" : 3 ,
55 "version" : " 3.8.0" ,
6- "version_name" : " 3.8.0-beta " ,
6+ "version_name" : " 3.8.0" ,
77 "default_locale" : " en" ,
88 "description" : " __MSG_extDescription__" ,
99 "author" : " rgantzos" ,
You can’t perform that action at this time.
0 commit comments