projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial commit
[yaffs-website]
/
node_modules
/
currently-unhandled
/
index.js
1
'use strict';
2
var core = require('./core');
3
4
module.exports = function (p) {
5
p = p || process;
6
var c = core();
7
8
p.on('unhandledRejection', c.onUnhandledRejection);
9
p.on('rejectionHandled', c.onRejectionHandled);
10
11
return c.currentlyUnhandled;
12
};