(obj)
| 1992 | } |
| 1993 | |
| 1994 | function toDebugString(obj) { |
| 1995 | if (typeof obj === 'function') { |
| 1996 | return obj.toString().replace(/ \{[\s\S]*$/, ''); |
| 1997 | } else if (typeof obj === 'undefined') { |
| 1998 | return 'undefined'; |
| 1999 | } else if (typeof obj !== 'string') { |
| 2000 | return serializeObject(obj); |
| 2001 | } |
| 2002 | return obj; |
| 2003 | } |
| 2004 | |
| 2005 | /* global angularModule: true, |
| 2006 | version: true, |
no test coverage detected