diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/rainbow.js')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/rainbow.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/rainbow.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/rainbow.js deleted file mode 100644 index a7ce24e6..00000000 --- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/rainbow.js +++ /dev/null @@ -1,13 +0,0 @@ -var colors = require('../colors'); - -module['exports'] = (function () { - var rainbowColors = ['red', 'yellow', 'green', 'blue', 'magenta']; //RoY G BiV - return function (letter, i, exploded) { - if (letter === " ") { - return letter; - } else { - return colors[rainbowColors[i++ % rainbowColors.length]](letter); - } - }; -})(); - |