X-Git-Url: https://git.josue.xyz/?p=VSoRC%2F.git;a=blobdiff_plain;f=node_modules%2Fnode-static%2Fnode_modules%2Fcolors%2Flib%2Fmaps%2Frandom.js;fp=node_modules%2Fnode-static%2Fnode_modules%2Fcolors%2Flib%2Fmaps%2Frandom.js;h=0000000000000000000000000000000000000000;hp=3d82a39ec0fab409d5da97842b3dc10dc4b28c50;hb=5e96dd57ddd883604e87f62bdddcb111c63a6e1a;hpb=acb5f682a2b75b972710cabd81658f63071324b0 diff --git a/node_modules/node-static/node_modules/colors/lib/maps/random.js b/node_modules/node-static/node_modules/colors/lib/maps/random.js deleted file mode 100644 index 3d82a39..0000000 --- a/node_modules/node-static/node_modules/colors/lib/maps/random.js +++ /dev/null @@ -1,11 +0,0 @@ -module['exports'] = function(colors) { - var available = ['underline', 'inverse', 'grey', 'yellow', 'red', 'green', - 'blue', 'white', 'cyan', 'magenta', 'brightYellow', 'brightRed', - 'brightGreen', 'brightBlue', 'brightWhite', 'brightCyan', 'brightMagenta']; - return function(letter, i, exploded) { - return letter === ' ' ? letter : - colors[ - available[Math.round(Math.random() * (available.length - 2))] - ](letter); - }; -};