source:
trip-planner-front/node_modules/colors/lib/maps/america.js@
6a3a178
Last change on this file since 6a3a178 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 278 bytes |
Line | |
---|---|
1 | module['exports'] = function(colors) { |
2 | return function(letter, i, exploded) { |
3 | if (letter === ' ') return letter; |
4 | switch (i%3) { |
5 | case 0: return colors.red(letter); |
6 | case 1: return colors.white(letter); |
7 | case 2: return colors.blue(letter); |
8 | } |
9 | }; |
10 | }; |
Note:
See TracBrowser
for help on using the repository browser.