mirror of
https://github.com/vale981/grapher
synced 2025-03-06 10:01:40 -05:00
Fix issue with $regex operator
This commit is contained in:
parent
35511bec7c
commit
b8e331674b
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ export default function deepClone(object) {
|
||||||
clone[key] = deepCloneArray(value);
|
clone[key] = deepCloneArray(value);
|
||||||
} else if (_.isFunction(value)) {
|
} else if (_.isFunction(value)) {
|
||||||
clone[key] = value;
|
clone[key] = value;
|
||||||
|
} else if (_.isRegExp(value)) {
|
||||||
|
clone[key] = value;
|
||||||
} else if (_.isObject(value)) {
|
} else if (_.isObject(value)) {
|
||||||
clone[key] = deepClone(value);
|
clone[key] = deepClone(value);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue