aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/america.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/america.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/america.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/america.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/america.js
new file mode 100644
index 00000000..a07d8327
--- /dev/null
+++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/colors/lib/maps/america.js
@@ -0,0 +1,12 @@
+var colors = require('../colors');
+
+module['exports'] = (function() {
+ return function (letter, i, exploded) {
+ if(letter === " ") return letter;
+ switch(i%3) {
+ case 0: return colors.red(letter);
+ case 1: return colors.white(letter)
+ case 2: return colors.blue(letter)
+ }
+ }
+})(); \ No newline at end of file