(obj)
| 2231 | } |
| 2232 | |
| 2233 | function toDebugString(obj) { |
| 2234 | if (typeof obj === 'function') { |
| 2235 | return obj.toString().replace(/ \{[\s\S]*$/, ''); |
| 2236 | } else if (typeof obj === 'undefined') { |
| 2237 | return 'undefined'; |
| 2238 | } else if (typeof obj !== 'string') { |
| 2239 | return serializeObject(obj); |
| 2240 | } |
| 2241 | return obj; |
| 2242 | } |
| 2243 | |
| 2244 | /* global angularModule: true, |
| 2245 | version: true, |
no test coverage detected