{"action":"opened","number":84,"pull_request":{"url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/pulls/84","id":63780417,"html_url":"https://github.com/driftyco/ionic-ion-tinder-cards/pull/84","diff_url":"https://github.com/driftyco/ionic-ion-tinder-cards/pull/84.diff","patch_url":"https://github.com/driftyco/ionic-ion-tinder-cards/pull/84.patch","issue_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/issues/84","number":84,"state":"open","locked":false,"title":"isUnderThreshold returns true if the card didn't move, fix #83","user":{"login":"tiangolo","id":1326112,"avatar_url":"https://avatars.githubusercontent.com/u/1326112?v=3","gravatar_id":"","url":"https://api.github.com/users/tiangolo","html_url":"https://github.com/tiangolo","followers_url":"https://api.github.com/users/tiangolo/followers","following_url":"https://api.github.com/users/tiangolo/following{/other_user}","gists_url":"https://api.github.com/users/tiangolo/gists{/gist_id}","starred_url":"https://api.github.com/users/tiangolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiangolo/subscriptions","organizations_url":"https://api.github.com/users/tiangolo/orgs","repos_url":"https://api.github.com/users/tiangolo/repos","events_url":"https://api.github.com/users/tiangolo/events{/privacy}","received_events_url":"https://api.github.com/users/tiangolo/received_events","type":"User","site_admin":false},"body":"`isUnderThreshold()` returns true if the card didn't move, fix #83\r\n\r\nIt checks if the variable `this.thresholdAmount` exists before deciding that it is not under the threshold (avoiding triggering the `onDestroy` handler while the card didn't even move).\r\n\r\nMore details are on the issue: #83 ","created_at":"2016-03-22T19:39:58Z","updated_at":"2016-03-22T19:39:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/pulls/84/commits","review_comments_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/pulls/84/comments","review_comment_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/issues/84/comments","statuses_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/statuses/1edb3e5e80145218d17b53295de4ea5d822a7a89","head":{"label":"tiangolo:check-threshold","ref":"check-threshold","sha":"1edb3e5e80145218d17b53295de4ea5d822a7a89","user":{"login":"tiangolo","id":1326112,"avatar_url":"https://avatars.githubusercontent.com/u/1326112?v=3","gravatar_id":"","url":"https://api.github.com/users/tiangolo","html_url":"https://github.com/tiangolo","followers_url":"https://api.github.com/users/tiangolo/followers","following_url":"https://api.github.com/users/tiangolo/following{/other_user}","gists_url":"https://api.github.com/users/tiangolo/gists{/gist_id}","starred_url":"https://api.github.com/users/tiangolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiangolo/subscriptions","organizations_url":"https://api.github.com/users/tiangolo/orgs","repos_url":"https://api.github.com/users/tiangolo/repos","events_url":"https://api.github.com/users/tiangolo/events{/privacy}","received_events_url":"https://api.github.com/users/tiangolo/received_events","type":"User","site_admin":false},"repo":{"id":54498584,"name":"ionic-ion-tinder-cards","full_name":"tiangolo/ionic-ion-tinder-cards","owner":{"login":"tiangolo","id":1326112,"avatar_url":"https://avatars.githubusercontent.com/u/1326112?v=3","gravatar_id":"","url":"https://api.github.com/users/tiangolo","html_url":"https://github.com/tiangolo","followers_url":"https://api.github.com/users/tiangolo/followers","following_url":"https://api.github.com/users/tiangolo/following{/other_user}","gists_url":"https://api.github.com/users/tiangolo/gists{/gist_id}","starred_url":"https://api.github.com/users/tiangolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiangolo/subscriptions","organizations_url":"https://api.github.com/users/tiangolo/orgs","repos_url":"https://api.github.com/users/tiangolo/repos","events_url":"https://api.github.com/users/tiangolo/events{/privacy}","received_events_url":"https://api.github.com/users/tiangolo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tiangolo/ionic-ion-tinder-cards","description":"Add Tinder-style card swiping to any app with this simple Ionic Ion.","fork":true,"url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards","forks_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/forks","keys_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/teams","hooks_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/hooks","issue_events_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/issues/events{/number}","events_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/events","assignees_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/assignees{/user}","branches_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/branches{/branch}","tags_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/tags","blobs_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/statuses/{sha}","languages_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/languages","stargazers_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/stargazers","contributors_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/contributors","subscribers_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/subscribers","subscription_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/subscription","commits_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/contents/{+path}","compare_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/merges","archive_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/downloads","issues_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/issues{/number}","pulls_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/pulls{/number}","milestones_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/milestones{/number}","notifications_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/labels{/name}","releases_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/releases{/id}","deployments_url":"https://api.github.com/repos/tiangolo/ionic-ion-tinder-cards/deployments","created_at":"2016-03-22T18:18:49Z","updated_at":"2016-03-22T18:18:50Z","pushed_at":"2016-03-22T19:33:59Z","git_url":"git://github.com/tiangolo/ionic-ion-tinder-cards.git","ssh_url":"git@github.com:tiangolo/ionic-ion-tinder-cards.git","clone_url":"https://github.com/tiangolo/ionic-ion-tinder-cards.git","svn_url":"https://github.com/tiangolo/ionic-ion-tinder-cards","homepage":"","size":8901,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"driftyco:master","ref":"master","sha":"723de6a935242a39f082eafac05c11de50412ee4","user":{"login":"driftyco","id":3171503,"avatar_url":"https://avatars.githubusercontent.com/u/3171503?v=3","gravatar_id":"","url":"https://api.github.com/users/driftyco","html_url":"https://github.com/driftyco","followers_url":"https://api.github.com/users/driftyco/followers","following_url":"https://api.github.com/users/driftyco/following{/other_user}","gists_url":"https://api.github.com/users/driftyco/gists{/gist_id}","starred_url":"https://api.github.com/users/driftyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driftyco/subscriptions","organizations_url":"https://api.github.com/users/driftyco/orgs","repos_url":"https://api.github.com/users/driftyco/repos","events_url":"https://api.github.com/users/driftyco/events{/privacy}","received_events_url":"https://api.github.com/users/driftyco/received_events","type":"Organization","site_admin":false},"repo":{"id":22667909,"name":"ionic-ion-tinder-cards","full_name":"driftyco/ionic-ion-tinder-cards","owner":{"login":"driftyco","id":3171503,"avatar_url":"https://avatars.githubusercontent.com/u/3171503?v=3","gravatar_id":"","url":"https://api.github.com/users/driftyco","html_url":"https://github.com/driftyco","followers_url":"https://api.github.com/users/driftyco/followers","following_url":"https://api.github.com/users/driftyco/following{/other_user}","gists_url":"https://api.github.com/users/driftyco/gists{/gist_id}","starred_url":"https://api.github.com/users/driftyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driftyco/subscriptions","organizations_url":"https://api.github.com/users/driftyco/orgs","repos_url":"https://api.github.com/users/driftyco/repos","events_url":"https://api.github.com/users/driftyco/events{/privacy}","received_events_url":"https://api.github.com/users/driftyco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/driftyco/ionic-ion-tinder-cards","description":"Add Tinder-style card swiping to any app with this simple Ionic Ion.","fork":false,"url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards","forks_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/forks","keys_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/teams","hooks_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/hooks","issue_events_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/issues/events{/number}","events_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/events","assignees_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/assignees{/user}","branches_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/branches{/branch}","tags_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/tags","blobs_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/git/refs{/sha}","trees_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/statuses/{sha}","languages_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/languages","stargazers_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/stargazers","contributors_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/contributors","subscribers_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/subscribers","subscription_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/subscription","commits_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/commits{/sha}","git_commits_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/git/commits{/sha}","comments_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/comments{/number}","issue_comment_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/issues/comments{/number}","contents_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/contents/{+path}","compare_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/merges","archive_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/downloads","issues_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/issues{/number}","pulls_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/pulls{/number}","milestones_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/milestones{/number}","notifications_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/labels{/name}","releases_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/releases{/id}","deployments_url":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/deployments","created_at":"2014-08-06T03:08:18Z","updated_at":"2016-03-18T07:28:58Z","pushed_at":"2015-05-25T09:48:01Z","git_url":"git://github.com/driftyco/ionic-ion-tinder-cards.git","ssh_url":"git@github.com:driftyco/ionic-ion-tinder-cards.git","clone_url":"https://github.com/driftyco/ionic-ion-tinder-cards.git","svn_url":"https://github.com/driftyco/ionic-ion-tinder-cards","homepage":"","size":9544,"stargazers_count":302,"watchers_count":302,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":106,"mirror_url":null,"open_issues_count":20,"forks":106,"open_issues":20,"watchers":302,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/pulls/84"},"html":{"href":"https://github.com/driftyco/ionic-ion-tinder-cards/pull/84"},"issue":{"href":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/issues/84"},"comments":{"href":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/driftyco/ionic-ion-tinder-cards/statuses/1edb3e5e80145218d17b53295de4ea5d822a7a89"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":57,"deletions":45,"changed_files":1}}