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

Commit

Permalink
fix #835, add reference to _global
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaLiPassion committed Jul 13, 2017
1 parent 984c77e commit 2555c56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/common/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export const ZONE_SYMBOL_PREFIX = '__zone_symbol__';

const EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\w+)(true|false)$/;

const _global = typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global;

export interface PatchEventTargetOptions {
validateHandler?: (nativeDelegate: any, delegate: any, target: any, args: any) => boolean;
addEventListenerFnName?: string;
Expand Down

0 comments on commit 2555c56

Please sign in to comment.