(obj)
| 2026 | } |
| 2027 | |
| 2028 | function toDebugString(obj) { |
| 2029 | if (typeof obj === 'function') { |
| 2030 | return obj.toString().replace(/ \{[\s\S]*$/, ''); |
| 2031 | } else if (typeof obj === 'undefined') { |
| 2032 | return 'undefined'; |
| 2033 | } else if (typeof obj !== 'string') { |
| 2034 | return serializeObject(obj); |
| 2035 | } |
| 2036 | return obj; |
| 2037 | } |
| 2038 | |
| 2039 | /* global angularModule: true, |
| 2040 | version: true, |
no test coverage detected