(func)
| 5114 | } |
| 5115 | |
| 5116 | function isClass(func) { |
| 5117 | // Support: IE 9-11 only |
| 5118 | // IE 9-11 do not support classes and IE9 leaks with the code below. |
| 5119 | if (msie || typeof func !== 'function') { |
| 5120 | return false; |
| 5121 | } |
| 5122 | var result = func.$$ngIsClass; |
| 5123 | if (!isBoolean(result)) { |
| 5124 | result = func.$$ngIsClass = /^class\b/.test(stringifyFn(func)); |
| 5125 | } |
| 5126 | return result; |
| 5127 | } |
| 5128 | |
| 5129 | function invoke(fn, self, locals, serviceName) { |
| 5130 | if (typeof locals === 'string') { |
no test coverage detected