Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaLiPassion committed Mar 11, 2017
1 parent a3154d3 commit 133ff42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1950,7 +1950,6 @@ const Zone: ZoneType = (function(global: any) {
detectZone.runTask(detectZone.scheduleMacroTask('detect', detectRunFn, null, () => null, null));
detectZone.runTask(
detectZone.scheduleMacroTask('detect', detectRunWithoutNewFn, null, () => null, null));
NativeError.stackTraceLimit = nativeStackTraceLimit;

function handleDetectError(error: Error) {
let frames = error.stack ? error.stack.split(/\n/) : [];
Expand Down Expand Up @@ -2118,6 +2117,7 @@ const Zone: ZoneType = (function(global: any) {

detectEmptyZone.runGuarded(detectPromiseCaughtWithoutNewFn);
detectZoneWithCallbacks.runGuarded(detectPromiseCaughtWithoutNewFn);
NativeError.stackTraceLimit = nativeStackTraceLimit;

return global['Zone'] = Zone;
})(typeof window === 'object' && window || typeof self === 'object' && self || global);

0 comments on commit 133ff42

Please sign in to comment.