source: node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 382 bytes
RevLine 
[a762898]1export function reduxDevtoolsJsonStringifyReplacer(key, value) {
2 if (value instanceof HTMLElement) {
3 return "HTMLElement <".concat(value.tagName, " class=\"").concat(value.className, "\">");
4 }
5 if (value === window) {
6 return 'global.window';
7 }
8 if (key === 'children' && typeof value === 'object' && value !== null) {
9 return '<<CHILDREN>>';
10 }
11 return value;
12}
Note: See TracBrowser for help on using the repository browser.