(colormap)
| 116 | }; |
| 117 | |
| 118 | function isColormapCircular(colormap) { |
| 119 | var first = colormap[0].rgb; |
| 120 | var last = colormap[colormap.length - 1].rgb; |
| 121 | |
| 122 | return ( |
| 123 | first[0] === last[0] && |
| 124 | first[1] === last[1] && |
| 125 | first[2] === last[2] && |
| 126 | first[3] === last[3] |
| 127 | ); |
| 128 | } |
| 129 | |
| 130 | var shortPrimes = [ |
| 131 | 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, |
no outgoing calls
no test coverage detected
searching dependent graphs…