Skip to content

Changes all "a" element links that link to a "latest" release page on github, into an unordered list of direct links to the release files.

Notifications You must be signed in to change notification settings

internetimagery/github-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Githug Release Links

Changes all "a" element links that link to a "latest" release page on github, into an unordered list of direct links to the release files.

To use, simply add the script to your page, and run the command:

scan_releases(CLASSNAME);

This will turn the following:

<a href="https://github.com/internetimagery/github-release/releases/latest">Download</a>

Into:

<ul class="CLASSNAME">
  <li>
    <a href="https://github.com/internetimagery/github-release/releases/latest">github-release.js</a>
  </li>
</ul>

About

Changes all "a" element links that link to a "latest" release page on github, into an unordered list of direct links to the release files.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published