angular-docs-cn/packages/zone.js/lib/common
Dmitrii Kanatnikov 18e474f522 fix(zone.js): zone.js toString patch should check typeof Promise is function (#38350)
Close #38361

zone.js monkey patch toString, and check the instance is `Promise` or not by using `instanceof Promise`,
sometimes when Promise is not available, the `instanceof` operation fails
and throw `TypeError: Right-hand side of 'instanceof' is not an object`
this PR check `typeof Promise` equals to function or not to prevent the error.

PR Close #38350
2020-08-25 09:51:50 -07:00
..
error-rewrite.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
events.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
fetch.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
promise.ts fix(zone.js): remove unused Promise overwritten setter logic (#36851) 2020-06-11 18:56:19 -07:00
timers.ts fix(zone.js): clearTimeout/clearInterval should call on object global (#37858) 2020-07-24 15:22:47 -07:00
to-string.ts fix(zone.js): zone.js toString patch should check typeof Promise is function (#38350) 2020-08-25 09:51:50 -07:00
utils.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00