2function updateResults(data)
5 $('#results').html("");
6 $('#query').text("\"" + data.query + "\"");
7 for(var i = 0; i < data.results.length; i++)
9 $('#results').append(renderBook(data.results[i]));
13function renderBook(book)
15 var li = '<li><strong>' + book.title + '</strong>, <i>'
16 + book.author + '</i> - ' + book.year + '</li>';
22 var q = $('#q').val();
23 getBooks(q, updateResults, console.log)
27$('#q').keyup(function() {
37 var x = data.x, y = data.y;
45 update('#count', count);
46 update('#successes', successes);
47 update('#pi', 4*successes/count);
50function update(id, val)
57 getPoint(f, console.log);
60window.setInterval(refresh, 200);
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list