new version
This commit is contained in:
parent
149bc4d51b
commit
1b00dfb37b
4 changed files with 12 additions and 7 deletions
|
|
@ -41,12 +41,12 @@ Ox.getJSON('json/pandora.json?' + +new Date(), function(pandora) {
|
|||
|
||||
loadPage();
|
||||
|
||||
Ox.get('https://code.0x2620.org/pandora/.bzr/branch/last-revision', function(data) {
|
||||
Ox.get('/ra-head', function(data) {
|
||||
var hash = window.location.hash.substr(1).split('.'),
|
||||
page = hash[0],
|
||||
version = data.split(' ')[0],
|
||||
torrent = 'magnet:?xt=urn:btih:17fa71ba27ee99fd383da29e85aa7fa7d546e958&dn=pandora-r4395&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.ccc.de%3A80&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=http%3A%2F%2Ftracker.thepiratebay.org%2Fannounce',
|
||||
torrentInfo = 'pandora-r4395.torrent, 3.0 GiB'
|
||||
torrent = 'magnet:?xt=urn:btih:036ad048487bb3e3a65a17c9de607aede3bae426&dn=pandora-r5797&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969',
|
||||
torrentInfo = 'pandora-r5797.torrent, 3.0 GiB'
|
||||
pandora.pages.download = pandora.pages.download.replace(
|
||||
/{version}/g, ' The latest revision is r' + version + '.'
|
||||
).replace(/{torrent}/g, torrent).replace(/{torrentInfo}/g, torrentInfo)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue