{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/pulls/9","id":80381856,"html_url":"https://github.com/bradmartin/nativescript-snackbar/pull/9","diff_url":"https://github.com/bradmartin/nativescript-snackbar/pull/9.diff","patch_url":"https://github.com/bradmartin/nativescript-snackbar/pull/9.patch","issue_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/issues/9","number":9,"state":"closed","locked":false,"title":"Replace es5 functions by es6 to bind this and fix ios bugs","user":{"login":"marcbuils","id":1681994,"avatar_url":"https://avatars.githubusercontent.com/u/1681994?v=3","gravatar_id":"","url":"https://api.github.com/users/marcbuils","html_url":"https://github.com/marcbuils","followers_url":"https://api.github.com/users/marcbuils/followers","following_url":"https://api.github.com/users/marcbuils/following{/other_user}","gists_url":"https://api.github.com/users/marcbuils/gists{/gist_id}","starred_url":"https://api.github.com/users/marcbuils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcbuils/subscriptions","organizations_url":"https://api.github.com/users/marcbuils/orgs","repos_url":"https://api.github.com/users/marcbuils/repos","events_url":"https://api.github.com/users/marcbuils/events{/privacy}","received_events_url":"https://api.github.com/users/marcbuils/received_events","type":"User","site_admin":false},"body":"Hi and thanks for this fantastic nativescript plugin,\r\n\r\nThis pull request concerns the following actions :\r\n- Replace es5 function by es6 to bind this and fix ios bugs.\r\n- Remove module in snackbar.d.ts to add es6 import compatibility\r\n\r\nExemple of bug: \r\nWhen a user select the close button of a simpleText snackbar on iOS, the application failed because \"this._snackbar\" is undefined (l.23 - snackbar.ios.ts).\r\n\r\n","created_at":"2016-08-07T23:50:22Z","updated_at":"2016-08-08T02:38:18Z","closed_at":"2016-08-08T02:38:18Z","merged_at":"2016-08-08T02:38:18Z","merge_commit_sha":"64bb518e98cb00c2d40fdf4dbc9ac5e0647fa129","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/pulls/9/commits","review_comments_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/pulls/9/comments","review_comment_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/issues/9/comments","statuses_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/statuses/029f818ba03fa4ed9cef95cf6be09f2720228c8f","head":{"label":"marcbuils:master","ref":"master","sha":"029f818ba03fa4ed9cef95cf6be09f2720228c8f","user":{"login":"marcbuils","id":1681994,"avatar_url":"https://avatars.githubusercontent.com/u/1681994?v=3","gravatar_id":"","url":"https://api.github.com/users/marcbuils","html_url":"https://github.com/marcbuils","followers_url":"https://api.github.com/users/marcbuils/followers","following_url":"https://api.github.com/users/marcbuils/following{/other_user}","gists_url":"https://api.github.com/users/marcbuils/gists{/gist_id}","starred_url":"https://api.github.com/users/marcbuils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcbuils/subscriptions","organizations_url":"https://api.github.com/users/marcbuils/orgs","repos_url":"https://api.github.com/users/marcbuils/repos","events_url":"https://api.github.com/users/marcbuils/events{/privacy}","received_events_url":"https://api.github.com/users/marcbuils/received_events","type":"User","site_admin":false},"repo":{"id":65137498,"name":"nativescript-snackbar","full_name":"marcbuils/nativescript-snackbar","owner":{"login":"marcbuils","id":1681994,"avatar_url":"https://avatars.githubusercontent.com/u/1681994?v=3","gravatar_id":"","url":"https://api.github.com/users/marcbuils","html_url":"https://github.com/marcbuils","followers_url":"https://api.github.com/users/marcbuils/followers","following_url":"https://api.github.com/users/marcbuils/following{/other_user}","gists_url":"https://api.github.com/users/marcbuils/gists{/gist_id}","starred_url":"https://api.github.com/users/marcbuils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcbuils/subscriptions","organizations_url":"https://api.github.com/users/marcbuils/orgs","repos_url":"https://api.github.com/users/marcbuils/repos","events_url":"https://api.github.com/users/marcbuils/events{/privacy}","received_events_url":"https://api.github.com/users/marcbuils/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcbuils/nativescript-snackbar","description":":lollipop: :chocolate_bar: A NativeScript plugin for Material Design SnackBar :lollipop: :chocolate_bar:","fork":true,"url":"https://api.github.com/repos/marcbuils/nativescript-snackbar","forks_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/forks","keys_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/teams","hooks_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/hooks","issue_events_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/issues/events{/number}","events_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/events","assignees_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/assignees{/user}","branches_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/branches{/branch}","tags_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/tags","blobs_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/statuses/{sha}","languages_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/languages","stargazers_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/stargazers","contributors_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/contributors","subscribers_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/subscribers","subscription_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/subscription","commits_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/contents/{+path}","compare_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/merges","archive_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/downloads","issues_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/issues{/number}","pulls_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/pulls{/number}","milestones_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/milestones{/number}","notifications_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/labels{/name}","releases_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/releases{/id}","deployments_url":"https://api.github.com/repos/marcbuils/nativescript-snackbar/deployments","created_at":"2016-08-07T14:29:39Z","updated_at":"2016-08-07T14:29:40Z","pushed_at":"2016-08-07T23:16:45Z","git_url":"git://github.com/marcbuils/nativescript-snackbar.git","ssh_url":"git@github.com:marcbuils/nativescript-snackbar.git","clone_url":"https://github.com/marcbuils/nativescript-snackbar.git","svn_url":"https://github.com/marcbuils/nativescript-snackbar","homepage":"","size":3356,"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":"bradmartin:master","ref":"master","sha":"43b56156f64b9d5a1120f9a2f7fa6334ccd1218e","user":{"login":"bradmartin","id":6006148,"avatar_url":"https://avatars.githubusercontent.com/u/6006148?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmartin","html_url":"https://github.com/bradmartin","followers_url":"https://api.github.com/users/bradmartin/followers","following_url":"https://api.github.com/users/bradmartin/following{/other_user}","gists_url":"https://api.github.com/users/bradmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmartin/subscriptions","organizations_url":"https://api.github.com/users/bradmartin/orgs","repos_url":"https://api.github.com/users/bradmartin/repos","events_url":"https://api.github.com/users/bradmartin/events{/privacy}","received_events_url":"https://api.github.com/users/bradmartin/received_events","type":"User","site_admin":false},"repo":{"id":47769334,"name":"nativescript-snackbar","full_name":"bradmartin/nativescript-snackbar","owner":{"login":"bradmartin","id":6006148,"avatar_url":"https://avatars.githubusercontent.com/u/6006148?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmartin","html_url":"https://github.com/bradmartin","followers_url":"https://api.github.com/users/bradmartin/followers","following_url":"https://api.github.com/users/bradmartin/following{/other_user}","gists_url":"https://api.github.com/users/bradmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmartin/subscriptions","organizations_url":"https://api.github.com/users/bradmartin/orgs","repos_url":"https://api.github.com/users/bradmartin/repos","events_url":"https://api.github.com/users/bradmartin/events{/privacy}","received_events_url":"https://api.github.com/users/bradmartin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bradmartin/nativescript-snackbar","description":":lollipop: :chocolate_bar: A NativeScript plugin for Material Design SnackBar :lollipop: :chocolate_bar:","fork":false,"url":"https://api.github.com/repos/bradmartin/nativescript-snackbar","forks_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/forks","keys_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/teams","hooks_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/hooks","issue_events_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/issues/events{/number}","events_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/events","assignees_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/assignees{/user}","branches_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/branches{/branch}","tags_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/tags","blobs_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/statuses/{sha}","languages_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/languages","stargazers_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/stargazers","contributors_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/contributors","subscribers_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/subscribers","subscription_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/subscription","commits_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/contents/{+path}","compare_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/merges","archive_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/downloads","issues_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/issues{/number}","pulls_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/pulls{/number}","milestones_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/milestones{/number}","notifications_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/labels{/name}","releases_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/releases{/id}","deployments_url":"https://api.github.com/repos/bradmartin/nativescript-snackbar/deployments","created_at":"2015-12-10T15:09:50Z","updated_at":"2016-08-07T23:52:21Z","pushed_at":"2016-08-08T02:38:18Z","git_url":"git://github.com/bradmartin/nativescript-snackbar.git","ssh_url":"git@github.com:bradmartin/nativescript-snackbar.git","clone_url":"https://github.com/bradmartin/nativescript-snackbar.git","svn_url":"https://github.com/bradmartin/nativescript-snackbar","homepage":"","size":3379,"stargazers_count":16,"watchers_count":16,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bradmartin/nativescript-snackbar/pulls/9"},"html":{"href":"https://github.com/bradmartin/nativescript-snackbar/pull/9"},"issue":{"href":"https://api.github.com/repos/bradmartin/nativescript-snackbar/issues/9"},"comments":{"href":"https://api.github.com/repos/bradmartin/nativescript-snackbar/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/bradmartin/nativescript-snackbar/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/bradmartin/nativescript-snackbar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bradmartin/nativescript-snackbar/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/bradmartin/nativescript-snackbar/statuses/029f818ba03fa4ed9cef95cf6be09f2720228c8f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bradmartin","id":6006148,"avatar_url":"https://avatars.githubusercontent.com/u/6006148?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmartin","html_url":"https://github.com/bradmartin","followers_url":"https://api.github.com/users/bradmartin/followers","following_url":"https://api.github.com/users/bradmartin/following{/other_user}","gists_url":"https://api.github.com/users/bradmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmartin/subscriptions","organizations_url":"https://api.github.com/users/bradmartin/orgs","repos_url":"https://api.github.com/users/bradmartin/repos","events_url":"https://api.github.com/users/bradmartin/events{/privacy}","received_events_url":"https://api.github.com/users/bradmartin/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":33,"deletions":40,"changed_files":4}}
{"actor":{"display_login":"bradmartin"}}