Skip to content

Commit 5347774

Browse files
committed
Revert "handle typed arrays in contour"
This reverts commit bd4d2eb.
1 parent 1a38f37 commit 5347774

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/traces/contour/constraint_mapping.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
'use strict';
22

3-
var isArrayOrTypedArray = require('../../lib/array').isArrayOrTypedArray;
4-
var isTypedArraySpec = require('../../lib/array').isTypedArraySpec;
5-
var decodeTypedArraySpec = require('../../lib/array').decodeTypedArraySpec;
6-
73
var filterOps = require('../../constants/filter_ops');
84
var isNumeric = require('fast-isnumeric');
95

@@ -20,8 +16,7 @@ module.exports = {
2016
// This does not in any way shape or form support calendars. It's adapted from
2117
// transforms/filter.js.
2218
function coerceValue(operation, value) {
23-
if(isTypedArraySpec(value)) value = decodeTypedArraySpec(value);
24-
var hasArrayValue = isArrayOrTypedArray(value);
19+
var hasArrayValue = Array.isArray(value);
2520

2621
var coercedValue;
2722

0 commit comments

Comments
 (0)