corrade-nucleus-nucleons – Blame information for rev 25
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
25 | office | 1 | $(document).ready(function() { |
2 | // Search and load all nucleons. |
||
3 | $.get('/nucleons', function(data) { |
||
4 | var nucleons = wasCSVToArray(data); |
||
5 | $.each(nucleons, function(index, value) { |
||
6 | // Skip files starting with full stop (POSIX). |
||
7 | if (/^\./.test(value)) return; |
||
8 | $.get('/nucleons/' + value, function(doc) { |
||
9 | var div = $('<div class="col-xs-6 col-md-3">').html(doc); |
||
10 | $('#nucleons').append(div); |
||
11 | }); |
||
12 | }); |
||
13 | }); |
||
14 | }); |