Skip to content

Commit a15a007

Browse files
committed
Lintify
1 parent bca7923 commit a15a007

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/lib/gl_format_color.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ var rgba = require('color-rgba');
1515
var Colorscale = require('../components/colorscale');
1616
var colorDflt = require('../components/color/attributes').defaultLine;
1717

18-
var str2RgbaArray = require('./str2rgbarray');
19-
2018
var opacityDflt = 1;
2119

2220
function calculateColor(colorIn, opacityIn) {

src/lib/str2rgbarray.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
var rgba = require('color-rgba');
1313

1414
function str2RgbaArray(color) {
15-
return rgba(color) || [0, 0, 0, 1];
15+
return rgba(color) || [0, 0, 0, 1];
1616
}
1717

1818
module.exports = str2RgbaArray;
19-

0 commit comments

Comments
 (0)