Skip to content

Commit 4c31a86

Browse files
a-h-ibraaar
andauthored
options object defaults now in signature
Co-authored-by: Brage Sekse Aarset <[email protected]>
1 parent 3f05aa5 commit 4c31a86

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib/isRgbColor.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ export default function isRgbColor(str, options = { includePercentValues: true,
1919
if (arguments.length >= 2) {
2020
includePercentValues = arguments[1];
2121
}
22-
} else {
23-
strict = options.strict !== undefined ? options.strict : true;
24-
includePercentValues = options.includePercentValues !== undefined ?
25-
options.includePercentValues : true;
2622
}
2723

2824
if (!strict) {

0 commit comments

Comments
 (0)