1export function promise(f) {
3 return new Promise(function (success, error) {
4 var succF = function (s) { return function() { return success(s); } };
5 var failF = function (s) { return function() { return error(s); } };
7 // This indicates the aff was wrong?
8 try { f(succF)(failF)(); }
16export function thenImpl(promise) {
17 return function(errCB) {
18 return function(succCB) {
20 promise.then(succCB, errCB);
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