diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-09 16:21:27 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-09 16:21:27 -0500 |
| commit | 6a8e38d24c4866b8559f7116eac694fbf1da4ded (patch) | |
| tree | b45774ad4cec0fa214f59a0e8609ef12c0273125 /test/lib/promise.js | |
| parent | aa93b03e1862e9f95570653d52b9d5858171d22f (diff) | |
profile html, search api
Diffstat (limited to 'test/lib/promise.js')
| -rw-r--r-- | test/lib/promise.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/promise.js b/test/lib/promise.js index a3638de4..c239f306 100644 --- a/test/lib/promise.js +++ b/test/lib/promise.js @@ -1,5 +1,6 @@ module.exports = function(fn, data){ var my_cb, my_res, error_cb, my_error + data = data || {} data.success = function(res){ my_res = res if (my_cb) { |
