You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
223 B
15 lines
223 B
11 years ago
|
'use strict';
|
||
|
module.exports = function (cb) {
|
||
|
var ret = '';
|
||
|
|
||
|
process.stdin.setEncoding('utf8');
|
||
|
|
||
|
process.stdin.on('data', function (data) {
|
||
|
ret += data;
|
||
|
});
|
||
|
|
||
|
process.stdin.on('end', function () {
|
||
|
cb(ret);
|
||
|
});
|
||
|
};
|