9 lines
277 B
JavaScript
9 lines
277 B
JavaScript
export function reduxDevtoolsJsonStringifyReplacer(_key, value) {
|
|
if (value instanceof HTMLElement) {
|
|
return "HTMLElement <".concat(value.tagName, " class=\"").concat(value.className, "\">");
|
|
}
|
|
if (value === window) {
|
|
return 'global.window';
|
|
}
|
|
return value;
|
|
} |