(func)
| 5064 | } |
| 5065 | |
| 5066 | function isClass(func) { |
| 5067 | // Support: IE 9-11 only |
| 5068 | // IE 9-11 do not support classes and IE9 leaks with the code below. |
| 5069 | if (msie || typeof func !== 'function') { |
| 5070 | return false; |
| 5071 | } |
| 5072 | var result = func.$$ngIsClass; |
| 5073 | if (!isBoolean(result)) { |
| 5074 | result = func.$$ngIsClass = /^class\b/.test(stringifyFn(func)); |
| 5075 | } |
| 5076 | return result; |
| 5077 | } |
| 5078 | |
| 5079 | function invoke(fn, self, locals, serviceName) { |
| 5080 | if (typeof locals === 'string') { |
no test coverage detected