Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit450274d

Browse files
DRSDavidSoftJackbennett
authored andcommitted
Display the latest released version (#21)
* Added latest version to the downloads sectionSets title in the downloads section to the latest version name string.
1 parent0db35c7 commit450274d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎index.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ <h3>Download</h3>
6868
<sectionclass="download container">
6969

7070
<divclass="bit-1">
71+
<h4id="latest-version">&nbsp;</h4>
7172
<ahref="https://github.com/cmderdev/cmder">GitHub Repo</a> (for issues/requests/source)
7273
</div>
7374

@@ -209,6 +210,7 @@ <h4>Other documentations</h4>
209210

210211
functiongetLatestReleases(){
211212
$.getJSON("https://api.github.com/repos/cmderdev/cmder/releases/latest").done(function(release){
213+
$("#latest-version").html("Latest Version: "+release.name);
212214
for(constassetofrelease.assets){
213215
switch(asset.name){
214216
case"cmder.zip":

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp