(f, object)
| 452 | } |
| 453 | |
| 454 | function constructorName(f, object) { |
| 455 | var name = functionName(object && object.constructor); |
| 456 | var excludes = f.excludeConstructors || |
| 457 | formatio.excludeConstructors || []; |
| 458 | |
| 459 | var i, l; |
| 460 | for (i = 0, l = excludes.length; i < l; ++i) { |
| 461 | if (typeof excludes[i] === "string" && excludes[i] === name) { |
| 462 | return ""; |
| 463 | } else if (excludes[i].test && excludes[i].test(name)) { |
| 464 | return ""; |
| 465 | } |
| 466 | } |
| 467 | |
| 468 | return name; |
| 469 | } |
| 470 | |
| 471 | function isCircular(object, objects) { |
| 472 | if (typeof object !== "object") { return false; } |
no test coverage detected
searching dependent graphs…