{"action":"created","comment":{"url":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/comments/30313183","id":30313183,"diff_hunk":"@@ -18,40 +18,23 @@ declare class Zone {\n \tenqueueTask(): void;\n \tdequeueTask(): void;\n \n-\tstatic patchSetClearFn(obj, fnNames): string;\n-\tstatic patchPrototype(obj, fnNames): any;\n-\tstatic bindArguments(args: any[]): any;\n-\tstatic bindArgumentsOnce(args: any[]): any;\n-\tstatic patchableFn(obj, fnNames): any\n-\tstatic patchProperty(obj, prop): void;\n-\tstatic patchProperties(obj, properties): void;\n-\tstatic patchEventTargetMethods(obj): void;\n-\tstatic patch(): void;\n-\tstatic canPatchViaPropertyDescriptor(): boolean;\n-\tstatic patchViaPropertyDescriptor(): void;\n-\tstatic patchViaCapturingAllTheEvents(): void;\n-\tstatic patchWebSocket(): void;\n-\tstatic patchClass(className: string): void;\n-\tstatic patchMutationObserverClass(className: string): void;\n-\tstatic patchDefineProperty(): void;\n-\tstatic patchRegisterElement(): void;\n-\tstatic eventNames: string;\n-\tstatic onEventNames: string;\n-\tstatic init(): void;\n \tstatic exceptZone: {\n         boringZone: Zone;\n-        interestingZone: Zone,\n+        interestingZone: Zone;\n         beforeTask: () => void;\n         afterTask: () => void;\n         fork: (ops: any) => Zone;\n \t};\n+\n \tstatic longStackTraceZone: {\n \t\tgetLongStacktrace(exception: any): string;\n \t\tstackFramesFilter(line: string): boolean;\n \t\tonError(exception): void;\n-\t\tfork(locals): Zone;\n+\t\t'$fork': (parentFork: Function) => ((locals) => Zone);","path":"zone/zone.d.ts","position":38,"original_position":38,"commit_id":"85bf8d507f36b47a725ca30fc98077ff875e8e0e","original_commit_id":"85bf8d507f36b47a725ca30fc98077ff875e8e0e","user":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"body":"I guess it was like this in latest 0.4 as well.\r\n\r\n`$fork` is a function that returns a function with takes local and return a new `Zone`","created_at":"2015-05-14T11:04:54Z","updated_at":"2015-05-14T11:04:54Z","html_url":"https://github.com/angular/DefinitelyTyped/pull/2#discussion_r30313183","pull_request_url":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/comments/30313183"},"html":{"href":"https://github.com/angular/DefinitelyTyped/pull/2#discussion_r30313183"},"pull_request":{"href":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/2","id":35412350,"html_url":"https://github.com/angular/DefinitelyTyped/pull/2","diff_url":"https://github.com/angular/DefinitelyTyped/pull/2.diff","patch_url":"https://github.com/angular/DefinitelyTyped/pull/2.patch","issue_url":"https://api.github.com/repos/angular/DefinitelyTyped/issues/2","number":2,"state":"open","locked":false,"title":"Updates for zone.js 0.5","user":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"body":"I'm not familiar with definition files.\r\n@alexeagle could you please double check ?","created_at":"2015-05-14T11:02:47Z","updated_at":"2015-05-14T11:04:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18f03ac257aff6b35f180d7734f603ba1e16905d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/2/commits","review_comments_url":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/2/comments","review_comment_url":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/DefinitelyTyped/issues/2/comments","statuses_url":"https://api.github.com/repos/angular/DefinitelyTyped/statuses/85bf8d507f36b47a725ca30fc98077ff875e8e0e","head":{"label":"vicb:0514-zone","ref":"0514-zone","sha":"85bf8d507f36b47a725ca30fc98077ff875e8e0e","user":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"repo":{"id":35606181,"name":"DefinitelyTyped","full_name":"vicb/DefinitelyTyped","owner":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vicb/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/vicb/DefinitelyTyped","forks_url":"https://api.github.com/repos/vicb/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/vicb/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vicb/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vicb/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/vicb/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/vicb/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/vicb/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/vicb/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/vicb/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/vicb/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/vicb/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vicb/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vicb/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/vicb/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vicb/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/vicb/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/vicb/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/vicb/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/vicb/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/vicb/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/vicb/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/vicb/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/vicb/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/vicb/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/vicb/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/vicb/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vicb/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/vicb/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vicb/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/vicb/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/vicb/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/vicb/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/vicb/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vicb/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/vicb/DefinitelyTyped/releases{/id}","created_at":"2015-05-14T10:48:30Z","updated_at":"2015-05-14T10:48:33Z","pushed_at":"2015-05-14T11:04:45Z","git_url":"git://github.com/vicb/DefinitelyTyped.git","ssh_url":"git@github.com:vicb/DefinitelyTyped.git","clone_url":"https://github.com/vicb/DefinitelyTyped.git","svn_url":"https://github.com/vicb/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":59829,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"4207593c012565a7ea800ed861ffbe5011e7a501","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":33259789,"name":"DefinitelyTyped","full_name":"angular/DefinitelyTyped","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/angular/DefinitelyTyped","forks_url":"https://api.github.com/repos/angular/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/angular/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/angular/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/angular/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/angular/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/angular/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/angular/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/angular/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/angular/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/angular/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/angular/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/angular/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/angular/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/angular/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/angular/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/angular/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/angular/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/angular/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/angular/DefinitelyTyped/releases{/id}","created_at":"2015-04-01T16:44:59Z","updated_at":"2015-05-08T15:19:42Z","pushed_at":"2015-05-14T11:04:45Z","git_url":"git://github.com/angular/DefinitelyTyped.git","ssh_url":"git@github.com:angular/DefinitelyTyped.git","clone_url":"https://github.com/angular/DefinitelyTyped.git","svn_url":"https://github.com/angular/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":59829,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/2"},"html":{"href":"https://github.com/angular/DefinitelyTyped/pull/2"},"issue":{"href":"https://api.github.com/repos/angular/DefinitelyTyped/issues/2"},"comments":{"href":"https://api.github.com/repos/angular/DefinitelyTyped/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/DefinitelyTyped/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/angular/DefinitelyTyped/statuses/85bf8d507f36b47a725ca30fc98077ff875e8e0e"}}}}