1
0
mirror of synced 2025-02-04 06:09:23 +03:00

catch up to master

This commit is contained in:
Igor Vaynberg 2012-08-02 16:41:28 -07:00
parent d690d9aeea
commit 41255a77cf
2 changed files with 24 additions and 2 deletions

View File

@ -221,7 +221,29 @@ $("#e10_3").select2({
<h2>Changelog from 3.0</h2>
<div class="row"><div class="span12">
<ul>
<li>Loading...</li>
<script>
$(function() {
var url="https://api.github.com/repos/ivaynberg/select2/issues?state=closed&milestone=4";
$.ajax({
url: url,
dataType: "json"
}).done(function(issues) {
var list=$("#changelog ul");
var template="<li><a href='$url'><span>#$num</span> </a>$title</li>";
list.empty();
$.each(issues, function() {
var markup=template
.replace(/\$url/g, this.url)
.replace(/\$num/g, this.number)
.replace(/\$title/g, this.title)
list.append(markup);
});
}).fail(function() {
$("#changelog ul").empty().append("<li class='alert alert-error'>Error retrieving changelog</li>");
});
});
</script>
</ul>
</div></div>
</section>

@ -1 +1 @@
Subproject commit dc339391f8e3ada5bc5a4e5ea1cedb9945d438ef
Subproject commit bef4af91f8dd3dde2e96af664ca2cd8ce0249d8e