catch up to master
This commit is contained in:
parent
d690d9aeea
commit
41255a77cf
@ -221,7 +221,29 @@ $("#e10_3").select2({
|
|||||||
<h2>Changelog from 3.0</h2>
|
<h2>Changelog from 3.0</h2>
|
||||||
<div class="row"><div class="span12">
|
<div class="row"><div class="span12">
|
||||||
<ul>
|
<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>
|
</ul>
|
||||||
</div></div>
|
</div></div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit dc339391f8e3ada5bc5a4e5ea1cedb9945d438ef
|
Subproject commit bef4af91f8dd3dde2e96af664ca2cd8ce0249d8e
|
Loading…
x
Reference in New Issue
Block a user