1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
---
title: Download
layout: default
---
<script type="text/javascript">
$(function() {
$.getJSON('https://api.github.com/repos/JakeWharton/ActionBarSherlock/tags?callback=?', function(response) {
var meta = response.meta
, data = response.data
;
data.sort(function(o1, o2) {
return (o1.name > o2.name) ? -1 : 1;
});
var last = data[0];
var lastSha = last.commit.sha;
var lastDate = $('#latest-date').html('<em>Date unavailable</em>');
$('.latest-version').html(last.name);
$('#latest-zip').attr('href', last.zipball_url);
$('#latest-tarball').attr('href', last.tarball_url);
var previous = $('#previous-releases').empty();
$.each(data, function(index) {
previous.append(
$('<dt>Version ' + this.name + '<span class="normal"> — <em id="' + this.commit.sha + '">Date unavailable</em></span></dt>'),
$('<dd><a class="img" href="' + this.zipball_url + '">Zip</a> · <a class="img" href="' + this.tarball_url + '">Tarball</a></dd>')
);
$.getJSON(this.commit.url + '?callback=?', function(inner) {
var d = new Date(inner.data.commit.author.date);
var month = d.getMonth() + 1;
if (month < 10) {
month = '0' + month;
}
var day = d.getDate();
if (day < 10) {
day = '0' + day;
}
var date = d.getFullYear() + '-' + month + '-' + day;
$('#' + inner.data.sha).html(date);
if (inner.data.sha === lastSha) {
lastDate.html(date);
}
});
//Only most recent 10 tags
if (index == 9) {
return false;
}
});
});
$.getJSON('https://api.github.com/repos/JakeWharton/ActionBarSherlock/downloads?callback=?', function(response) {
var meta = response.meta
, data = response.data
;
var samples = $('#sample-apps').empty();
$.each(data, function() {
if (/apk$/.test(this.html_url)) {
samples.append(
$('<dt class="normal"/>').html(this.description.substring(0, 8) === "Sample: " ? this.description.substring(8) : this.description),
$('<dd class="sample-app"/>').append(
$('<a/>').attr('href', this.html_url).html('APK'),
' · ',
$('<a/>').attr('href', 'http://chart.apis.google.com/chart?chs=545x545&cht=qr&chl=' + this.html_url + '&.png').html('QR Code').colorbox()
)
);
}/* else if (/jar$/.test(this.html_url)) {
plugins.append(
$('<dt class="normal"/>').html(this.description.substring(0, 26) === "ActionBarSherlock Plugin: " ? this.description.substring(26) : this.description),
$('<dd class="plugin"/>').append(
$('<a/>').attr('href', this.html_url).html('JAR')
)
);
}*/
});
});
});
</script>
<div class="row">
<div class="three-fourths">
<h1>Download</h1>
<p><strong>Version <span class="latest-version">(loading)</span></strong> — <span id="latest-date">(loading)</span> (<a id="changelog" href="https://github.com/JakeWharton/ActionBarSherlock/tree/master/CHANGELOG.md#readme">change log</a>)</p>
<p><a class="img dl" id="latest-zip" href="https://github.com/JakeWharton/ActionBarSherlock/downloads"><img src="static/down_grey.png" alt="Zip"/> Download .zip</a></p>
<p><a class="img dl" id="latest-tarball" href="https://github.com/JakeWharton/ActionBarSherlock/downloads"><img src="static/down_grey.png" alt="Tarball"/> Download .tgz</a></p>
<!-- Download icon by Ddate Kaspar / Franziska Sponsel -->
<h3>Plugins</h3>
<dl id="plugins">
<dt class="normal"><a href="https://github.com/JakeWharton/ActionBarSherlock-Plugin-Maps/downloads">Google Maps</a></dt>
<dd class="plugin">Base activity which extends from <code>MapActivity</code>.</dd>
</dl>
<h3>Sample Applications</h3>
<dl id="sample-apps">
<dt class="normal">(loading)</dt>
</dl>
<h3>Third-Party Plugins</h3>
<dl id="third-party">
<dt class="normal"><a href="https://github.com/rtyley/roboguice-sherlock">RoboGuice-Sherlock</a> — Roberto Tyley</dt>
<dd class="plugin">Base activities and base fragments which allow for easy use of RoboGuice and ActionBarSherlock together.</dd>
</dl>
</div>
<div class="fourth last">
<h1>Release History</h1>
<dl id="previous-releases">
<dt class="normal">(loading)</dt>
</dl>
<p><a href="https://github.com/JakeWharton/ActionBarSherlock/tags">View all »</a></p>
</div>
</div>
|