diff options
author | lookshe <github@lookshe.org> | 2015-03-14 20:45:20 +0100 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2015-03-14 20:45:20 +0100 |
commit | b60df56157ee1fd0bd4938799bac05a62fda91a1 (patch) | |
tree | 2bc906c45ff9ec940e07f9676f5ed34ddd4ae022 /signaling-server/node_modules/redis/lib/util.js |
initial commit from working version
Diffstat (limited to 'signaling-server/node_modules/redis/lib/util.js')
-rw-r--r-- | signaling-server/node_modules/redis/lib/util.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/signaling-server/node_modules/redis/lib/util.js b/signaling-server/node_modules/redis/lib/util.js new file mode 100644 index 0000000..fc255ae --- /dev/null +++ b/signaling-server/node_modules/redis/lib/util.js @@ -0,0 +1,11 @@ +// Support for very old versions of node where the module was called "sys". At some point, we should abandon this. + +var util; + +try { + util = require("util"); +} catch (err) { + util = require("sys"); +} + +module.exports = util; |