diff --git a/Promise.js b/Promise.js index 93997ca..e018b62 100644 --- a/Promise.js +++ b/Promise.js @@ -82,6 +82,10 @@ function(list){ : elem }) : elem }) } +// +// handle(, [, ]) +// -> +// var handle = module.handle = function(list, handler, onerror){ @@ -146,6 +150,10 @@ function(list, handler, onerror){ // onerror... ...handlers.slice(1)) } +// +// unpack() +// -> +// var unpack = module.unpack = function(list){