Merge branch 'develop' into fix-timeslider

fix-timeslider
Marcel Klehr 2014-01-24 17:09:06 +01:00
commit 8dd701b6b6
1 changed files with 2 additions and 4 deletions

View File

@ -3,11 +3,9 @@
*/
var crypto = require('crypto');
var randomString = function randomString(len)
var randomString = function(len)
{
crypto.randomBytes(len, function(ex, buf) {
return buf.toString('hex');
});
return crypto.randomBytes(len).toString('hex')
};
module.exports = randomString;