Reformat code, 2 spaces

This commit is contained in:
Søren Vind 2016-11-10 10:45:43 -08:00
parent fb47fb10cc
commit 448f68a787
1 changed files with 140 additions and 140 deletions

View File

@ -25,8 +25,8 @@ const TestCase = require('./asserts');
const schemas = require('./schemas'); const schemas = require('./schemas');
function uuid() { function uuid() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8); var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
return v.toString(16); return v.toString(16);
}); });
} }