Conditions | 5 |
Paths | 3 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | var DefaultHandlers = [ |
||
48 | object: function (value, expanded) { |
||
49 | if (value === null) { |
||
50 | return '<null>' |
||
51 | } |
||
52 | if (typeof value.toString === 'function' && DefaultHandlers.indexOf(value.toString) === -1 && !expanded) { |
||
53 | return value.toString() |
||
54 | } |
||
55 | return JSON.stringify(value) |
||
56 | } |
||
57 | } |
||
62 |