(obj)
| 2259 | } |
| 2260 | |
| 2261 | function toDebugString(obj) { |
| 2262 | if (typeof obj === 'function') { |
| 2263 | return obj.toString().replace(/ \{[\s\S]*$/, ''); |
| 2264 | } else if (isUndefined(obj)) { |
| 2265 | return 'undefined'; |
| 2266 | } else if (typeof obj !== 'string') { |
| 2267 | return serializeObject(obj); |
| 2268 | } |
| 2269 | return obj; |
| 2270 | } |
| 2271 | |
| 2272 | /* global angularModule: true, |
| 2273 | version: true, |
no test coverage detected