{"action":"closed","number":252,"pull_request":{"url":"https://api.github.com/repos/NativeScript/ios-runtime/pulls/252","id":41331366,"html_url":"https://github.com/NativeScript/ios-runtime/pull/252","diff_url":"https://github.com/NativeScript/ios-runtime/pull/252.diff","patch_url":"https://github.com/NativeScript/ios-runtime/pull/252.patch","issue_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/252","number":252,"state":"closed","locked":false,"title":"Fix TypeScript inheritance of Objective-C classes","user":{"login":"fealebenpae","id":289915,"avatar_url":"https://avatars.githubusercontent.com/u/289915?v=3","gravatar_id":"","url":"https://api.github.com/users/fealebenpae","html_url":"https://github.com/fealebenpae","followers_url":"https://api.github.com/users/fealebenpae/followers","following_url":"https://api.github.com/users/fealebenpae/following{/other_user}","gists_url":"https://api.github.com/users/fealebenpae/gists{/gist_id}","starred_url":"https://api.github.com/users/fealebenpae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fealebenpae/subscriptions","organizations_url":"https://api.github.com/users/fealebenpae/orgs","repos_url":"https://api.github.com/users/fealebenpae/repos","events_url":"https://api.github.com/users/fealebenpae/events{/privacy}","received_events_url":"https://api.github.com/users/fealebenpae/received_events","type":"User","site_admin":false},"body":"There are more places the original constructor function resides in various circumstances. We loop over all the frame registers AND the lexical environment of the scope chain to try and replace the constructor function with our own.\r\n\r\nFixes #249 ","created_at":"2015-07-31T11:40:41Z","updated_at":"2015-07-31T12:22:39Z","closed_at":"2015-07-31T12:22:39Z","merged_at":"2015-07-31T12:22:39Z","merge_commit_sha":"1d0bfc34e5ac1511f523b9b340fc32965ed170c7","assignee":{"login":"fealebenpae","id":289915,"avatar_url":"https://avatars.githubusercontent.com/u/289915?v=3","gravatar_id":"","url":"https://api.github.com/users/fealebenpae","html_url":"https://github.com/fealebenpae","followers_url":"https://api.github.com/users/fealebenpae/followers","following_url":"https://api.github.com/users/fealebenpae/following{/other_user}","gists_url":"https://api.github.com/users/fealebenpae/gists{/gist_id}","starred_url":"https://api.github.com/users/fealebenpae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fealebenpae/subscriptions","organizations_url":"https://api.github.com/users/fealebenpae/orgs","repos_url":"https://api.github.com/users/fealebenpae/repos","events_url":"https://api.github.com/users/fealebenpae/events{/privacy}","received_events_url":"https://api.github.com/users/fealebenpae/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NativeScript/ios-runtime/milestones/8","html_url":"https://github.com/NativeScript/ios-runtime/milestones/1.2.1","labels_url":"https://api.github.com/repos/NativeScript/ios-runtime/milestones/8/labels","id":1221991,"number":8,"title":"1.2.1","description":"","creator":{"login":"valentinstoychev","id":4980822,"avatar_url":"https://avatars.githubusercontent.com/u/4980822?v=3","gravatar_id":"","url":"https://api.github.com/users/valentinstoychev","html_url":"https://github.com/valentinstoychev","followers_url":"https://api.github.com/users/valentinstoychev/followers","following_url":"https://api.github.com/users/valentinstoychev/following{/other_user}","gists_url":"https://api.github.com/users/valentinstoychev/gists{/gist_id}","starred_url":"https://api.github.com/users/valentinstoychev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentinstoychev/subscriptions","organizations_url":"https://api.github.com/users/valentinstoychev/orgs","repos_url":"https://api.github.com/users/valentinstoychev/repos","events_url":"https://api.github.com/users/valentinstoychev/events{/privacy}","received_events_url":"https://api.github.com/users/valentinstoychev/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-07-23T12:43:43Z","updated_at":"2015-07-31T12:22:39Z","due_on":"2015-08-07T21:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/NativeScript/ios-runtime/pulls/252/commits","review_comments_url":"https://api.github.com/repos/NativeScript/ios-runtime/pulls/252/comments","review_comment_url":"https://api.github.com/repos/NativeScript/ios-runtime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/252/comments","statuses_url":"https://api.github.com/repos/NativeScript/ios-runtime/statuses/cf3d3c460ad7231c118c2c42b6a07ada50375c8e","head":{"label":"NativeScript:fealebenpae/typescript-native-inheritance-fix","ref":"fealebenpae/typescript-native-inheritance-fix","sha":"cf3d3c460ad7231c118c2c42b6a07ada50375c8e","user":{"login":"NativeScript","id":7392261,"avatar_url":"https://avatars.githubusercontent.com/u/7392261?v=3","gravatar_id":"","url":"https://api.github.com/users/NativeScript","html_url":"https://github.com/NativeScript","followers_url":"https://api.github.com/users/NativeScript/followers","following_url":"https://api.github.com/users/NativeScript/following{/other_user}","gists_url":"https://api.github.com/users/NativeScript/gists{/gist_id}","starred_url":"https://api.github.com/users/NativeScript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NativeScript/subscriptions","organizations_url":"https://api.github.com/users/NativeScript/orgs","repos_url":"https://api.github.com/users/NativeScript/repos","events_url":"https://api.github.com/users/NativeScript/events{/privacy}","received_events_url":"https://api.github.com/users/NativeScript/received_events","type":"Organization","site_admin":false},"repo":{"id":29675401,"name":"ios-runtime","full_name":"NativeScript/ios-runtime","owner":{"login":"NativeScript","id":7392261,"avatar_url":"https://avatars.githubusercontent.com/u/7392261?v=3","gravatar_id":"","url":"https://api.github.com/users/NativeScript","html_url":"https://github.com/NativeScript","followers_url":"https://api.github.com/users/NativeScript/followers","following_url":"https://api.github.com/users/NativeScript/following{/other_user}","gists_url":"https://api.github.com/users/NativeScript/gists{/gist_id}","starred_url":"https://api.github.com/users/NativeScript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NativeScript/subscriptions","organizations_url":"https://api.github.com/users/NativeScript/orgs","repos_url":"https://api.github.com/users/NativeScript/repos","events_url":"https://api.github.com/users/NativeScript/events{/privacy}","received_events_url":"https://api.github.com/users/NativeScript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NativeScript/ios-runtime","description":"iOS runtime for NativeScript (based on JavaScriptCore)","fork":false,"url":"https://api.github.com/repos/NativeScript/ios-runtime","forks_url":"https://api.github.com/repos/NativeScript/ios-runtime/forks","keys_url":"https://api.github.com/repos/NativeScript/ios-runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NativeScript/ios-runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NativeScript/ios-runtime/teams","hooks_url":"https://api.github.com/repos/NativeScript/ios-runtime/hooks","issue_events_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/events{/number}","events_url":"https://api.github.com/repos/NativeScript/ios-runtime/events","assignees_url":"https://api.github.com/repos/NativeScript/ios-runtime/assignees{/user}","branches_url":"https://api.github.com/repos/NativeScript/ios-runtime/branches{/branch}","tags_url":"https://api.github.com/repos/NativeScript/ios-runtime/tags","blobs_url":"https://api.github.com/repos/NativeScript/ios-runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NativeScript/ios-runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NativeScript/ios-runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/NativeScript/ios-runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NativeScript/ios-runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/NativeScript/ios-runtime/languages","stargazers_url":"https://api.github.com/repos/NativeScript/ios-runtime/stargazers","contributors_url":"https://api.github.com/repos/NativeScript/ios-runtime/contributors","subscribers_url":"https://api.github.com/repos/NativeScript/ios-runtime/subscribers","subscription_url":"https://api.github.com/repos/NativeScript/ios-runtime/subscription","commits_url":"https://api.github.com/repos/NativeScript/ios-runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/NativeScript/ios-runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/NativeScript/ios-runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/NativeScript/ios-runtime/contents/{+path}","compare_url":"https://api.github.com/repos/NativeScript/ios-runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NativeScript/ios-runtime/merges","archive_url":"https://api.github.com/repos/NativeScript/ios-runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NativeScript/ios-runtime/downloads","issues_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues{/number}","pulls_url":"https://api.github.com/repos/NativeScript/ios-runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/NativeScript/ios-runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/NativeScript/ios-runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NativeScript/ios-runtime/labels{/name}","releases_url":"https://api.github.com/repos/NativeScript/ios-runtime/releases{/id}","created_at":"2015-01-22T11:21:31Z","updated_at":"2015-07-22T23:19:34Z","pushed_at":"2015-07-31T12:22:39Z","git_url":"git://github.com/NativeScript/ios-runtime.git","ssh_url":"git@github.com:NativeScript/ios-runtime.git","clone_url":"https://github.com/NativeScript/ios-runtime.git","svn_url":"https://github.com/NativeScript/ios-runtime","homepage":"http://docs.nativescript.org/runtimes/ios","size":81039,"stargazers_count":70,"watchers_count":70,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":67,"forks":11,"open_issues":67,"watchers":70,"default_branch":"master"}},"base":{"label":"NativeScript:master","ref":"master","sha":"0bf1e480f59191915716b7ffe77b31aba40258ac","user":{"login":"NativeScript","id":7392261,"avatar_url":"https://avatars.githubusercontent.com/u/7392261?v=3","gravatar_id":"","url":"https://api.github.com/users/NativeScript","html_url":"https://github.com/NativeScript","followers_url":"https://api.github.com/users/NativeScript/followers","following_url":"https://api.github.com/users/NativeScript/following{/other_user}","gists_url":"https://api.github.com/users/NativeScript/gists{/gist_id}","starred_url":"https://api.github.com/users/NativeScript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NativeScript/subscriptions","organizations_url":"https://api.github.com/users/NativeScript/orgs","repos_url":"https://api.github.com/users/NativeScript/repos","events_url":"https://api.github.com/users/NativeScript/events{/privacy}","received_events_url":"https://api.github.com/users/NativeScript/received_events","type":"Organization","site_admin":false},"repo":{"id":29675401,"name":"ios-runtime","full_name":"NativeScript/ios-runtime","owner":{"login":"NativeScript","id":7392261,"avatar_url":"https://avatars.githubusercontent.com/u/7392261?v=3","gravatar_id":"","url":"https://api.github.com/users/NativeScript","html_url":"https://github.com/NativeScript","followers_url":"https://api.github.com/users/NativeScript/followers","following_url":"https://api.github.com/users/NativeScript/following{/other_user}","gists_url":"https://api.github.com/users/NativeScript/gists{/gist_id}","starred_url":"https://api.github.com/users/NativeScript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NativeScript/subscriptions","organizations_url":"https://api.github.com/users/NativeScript/orgs","repos_url":"https://api.github.com/users/NativeScript/repos","events_url":"https://api.github.com/users/NativeScript/events{/privacy}","received_events_url":"https://api.github.com/users/NativeScript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NativeScript/ios-runtime","description":"iOS runtime for NativeScript (based on JavaScriptCore)","fork":false,"url":"https://api.github.com/repos/NativeScript/ios-runtime","forks_url":"https://api.github.com/repos/NativeScript/ios-runtime/forks","keys_url":"https://api.github.com/repos/NativeScript/ios-runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NativeScript/ios-runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NativeScript/ios-runtime/teams","hooks_url":"https://api.github.com/repos/NativeScript/ios-runtime/hooks","issue_events_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/events{/number}","events_url":"https://api.github.com/repos/NativeScript/ios-runtime/events","assignees_url":"https://api.github.com/repos/NativeScript/ios-runtime/assignees{/user}","branches_url":"https://api.github.com/repos/NativeScript/ios-runtime/branches{/branch}","tags_url":"https://api.github.com/repos/NativeScript/ios-runtime/tags","blobs_url":"https://api.github.com/repos/NativeScript/ios-runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NativeScript/ios-runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NativeScript/ios-runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/NativeScript/ios-runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NativeScript/ios-runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/NativeScript/ios-runtime/languages","stargazers_url":"https://api.github.com/repos/NativeScript/ios-runtime/stargazers","contributors_url":"https://api.github.com/repos/NativeScript/ios-runtime/contributors","subscribers_url":"https://api.github.com/repos/NativeScript/ios-runtime/subscribers","subscription_url":"https://api.github.com/repos/NativeScript/ios-runtime/subscription","commits_url":"https://api.github.com/repos/NativeScript/ios-runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/NativeScript/ios-runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/NativeScript/ios-runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/NativeScript/ios-runtime/contents/{+path}","compare_url":"https://api.github.com/repos/NativeScript/ios-runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NativeScript/ios-runtime/merges","archive_url":"https://api.github.com/repos/NativeScript/ios-runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NativeScript/ios-runtime/downloads","issues_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues{/number}","pulls_url":"https://api.github.com/repos/NativeScript/ios-runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/NativeScript/ios-runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/NativeScript/ios-runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NativeScript/ios-runtime/labels{/name}","releases_url":"https://api.github.com/repos/NativeScript/ios-runtime/releases{/id}","created_at":"2015-01-22T11:21:31Z","updated_at":"2015-07-22T23:19:34Z","pushed_at":"2015-07-31T12:22:39Z","git_url":"git://github.com/NativeScript/ios-runtime.git","ssh_url":"git@github.com:NativeScript/ios-runtime.git","clone_url":"https://github.com/NativeScript/ios-runtime.git","svn_url":"https://github.com/NativeScript/ios-runtime","homepage":"http://docs.nativescript.org/runtimes/ios","size":81039,"stargazers_count":70,"watchers_count":70,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":67,"forks":11,"open_issues":67,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NativeScript/ios-runtime/pulls/252"},"html":{"href":"https://github.com/NativeScript/ios-runtime/pull/252"},"issue":{"href":"https://api.github.com/repos/NativeScript/ios-runtime/issues/252"},"comments":{"href":"https://api.github.com/repos/NativeScript/ios-runtime/issues/252/comments"},"review_comments":{"href":"https://api.github.com/repos/NativeScript/ios-runtime/pulls/252/comments"},"review_comment":{"href":"https://api.github.com/repos/NativeScript/ios-runtime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NativeScript/ios-runtime/pulls/252/commits"},"statuses":{"href":"https://api.github.com/repos/NativeScript/ios-runtime/statuses/cf3d3c460ad7231c118c2c42b6a07ada50375c8e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fealebenpae","id":289915,"avatar_url":"https://avatars.githubusercontent.com/u/289915?v=3","gravatar_id":"","url":"https://api.github.com/users/fealebenpae","html_url":"https://github.com/fealebenpae","followers_url":"https://api.github.com/users/fealebenpae/followers","following_url":"https://api.github.com/users/fealebenpae/following{/other_user}","gists_url":"https://api.github.com/users/fealebenpae/gists{/gist_id}","starred_url":"https://api.github.com/users/fealebenpae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fealebenpae/subscriptions","organizations_url":"https://api.github.com/users/fealebenpae/orgs","repos_url":"https://api.github.com/users/fealebenpae/repos","events_url":"https://api.github.com/users/fealebenpae/events{/privacy}","received_events_url":"https://api.github.com/users/fealebenpae/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":69,"deletions":75,"changed_files":3}}