{"action":"created","comment":{"url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/comments/33200394","id":33200394,"diff_hunk":"@@ -190,16 +162,21 @@ export default Ember.Mixin.create({\n         infinityModel => {\n           model.pushObjects(infinityModel.get('content'));\n           this.set('_loadingMore', false);\n-          this.set('_currentPage', nextPage);\n+\n+          if(infinityModel.get('length')) {","path":"addon/mixins/route.js","position":137,"original_position":137,"commit_id":"93c03e828fff2a6d92570d7b825a9ad7f4964be1","original_commit_id":"93c03e828fff2a6d92570d7b825a9ad7f4964be1","user":{"login":"davidgoli","id":44666,"avatar_url":"https://avatars.githubusercontent.com/u/44666?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgoli","html_url":"https://github.com/davidgoli","followers_url":"https://api.github.com/users/davidgoli/followers","following_url":"https://api.github.com/users/davidgoli/following{/other_user}","gists_url":"https://api.github.com/users/davidgoli/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgoli/subscriptions","organizations_url":"https://api.github.com/users/davidgoli/orgs","repos_url":"https://api.github.com/users/davidgoli/repos","events_url":"https://api.github.com/users/davidgoli/events{/privacy}","received_events_url":"https://api.github.com/users/davidgoli/received_events","type":"User","site_admin":false},"body":"`if (` for stylistic consistency","created_at":"2015-06-24T21:43:11Z","updated_at":"2015-06-24T21:43:11Z","html_url":"https://github.com/sirenfoxlike/ember-infinity/pull/1#discussion_r33200394","pull_request_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/comments/33200394"},"html":{"href":"https://github.com/sirenfoxlike/ember-infinity/pull/1#discussion_r33200394"},"pull_request":{"href":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/1","id":38483669,"html_url":"https://github.com/sirenfoxlike/ember-infinity/pull/1","diff_url":"https://github.com/sirenfoxlike/ember-infinity/pull/1.diff","patch_url":"https://github.com/sirenfoxlike/ember-infinity/pull/1.patch","issue_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/issues/1","number":1,"state":"open","locked":false,"title":"Use a min_id method similar to twitter instead of page number based","user":{"login":"amgadani","id":3528967,"avatar_url":"https://avatars.githubusercontent.com/u/3528967?v=3","gravatar_id":"","url":"https://api.github.com/users/amgadani","html_url":"https://github.com/amgadani","followers_url":"https://api.github.com/users/amgadani/followers","following_url":"https://api.github.com/users/amgadani/following{/other_user}","gists_url":"https://api.github.com/users/amgadani/gists{/gist_id}","starred_url":"https://api.github.com/users/amgadani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amgadani/subscriptions","organizations_url":"https://api.github.com/users/amgadani/orgs","repos_url":"https://api.github.com/users/amgadani/repos","events_url":"https://api.github.com/users/amgadani/events{/privacy}","received_events_url":"https://api.github.com/users/amgadani/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-24T20:26:37Z","updated_at":"2015-06-24T21:43:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7df68665b9de63dab4063def2b91df80ea5819e9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/issues/1/comments","statuses_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/statuses/93c03e828fff2a6d92570d7b825a9ad7f4964be1","head":{"label":"sirenfoxlike:min-id-instead-of-page-num","ref":"min-id-instead-of-page-num","sha":"93c03e828fff2a6d92570d7b825a9ad7f4964be1","user":{"login":"sirenfoxlike","id":8755008,"avatar_url":"https://avatars.githubusercontent.com/u/8755008?v=3","gravatar_id":"","url":"https://api.github.com/users/sirenfoxlike","html_url":"https://github.com/sirenfoxlike","followers_url":"https://api.github.com/users/sirenfoxlike/followers","following_url":"https://api.github.com/users/sirenfoxlike/following{/other_user}","gists_url":"https://api.github.com/users/sirenfoxlike/gists{/gist_id}","starred_url":"https://api.github.com/users/sirenfoxlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirenfoxlike/subscriptions","organizations_url":"https://api.github.com/users/sirenfoxlike/orgs","repos_url":"https://api.github.com/users/sirenfoxlike/repos","events_url":"https://api.github.com/users/sirenfoxlike/events{/privacy}","received_events_url":"https://api.github.com/users/sirenfoxlike/received_events","type":"Organization","site_admin":false},"repo":{"id":38009030,"name":"ember-infinity","full_name":"sirenfoxlike/ember-infinity","owner":{"login":"sirenfoxlike","id":8755008,"avatar_url":"https://avatars.githubusercontent.com/u/8755008?v=3","gravatar_id":"","url":"https://api.github.com/users/sirenfoxlike","html_url":"https://github.com/sirenfoxlike","followers_url":"https://api.github.com/users/sirenfoxlike/followers","following_url":"https://api.github.com/users/sirenfoxlike/following{/other_user}","gists_url":"https://api.github.com/users/sirenfoxlike/gists{/gist_id}","starred_url":"https://api.github.com/users/sirenfoxlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirenfoxlike/subscriptions","organizations_url":"https://api.github.com/users/sirenfoxlike/orgs","repos_url":"https://api.github.com/users/sirenfoxlike/repos","events_url":"https://api.github.com/users/sirenfoxlike/events{/privacy}","received_events_url":"https://api.github.com/users/sirenfoxlike/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sirenfoxlike/ember-infinity","description":"Simple, flexible Infinite Scroll for Ember CLI Apps.","fork":true,"url":"https://api.github.com/repos/sirenfoxlike/ember-infinity","forks_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/forks","keys_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/teams","hooks_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/hooks","issue_events_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/issues/events{/number}","events_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/events","assignees_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/assignees{/user}","branches_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/branches{/branch}","tags_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/tags","blobs_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/git/refs{/sha}","trees_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/statuses/{sha}","languages_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/languages","stargazers_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/stargazers","contributors_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/contributors","subscribers_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/subscribers","subscription_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/subscription","commits_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/commits{/sha}","git_commits_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/git/commits{/sha}","comments_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/comments{/number}","issue_comment_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/issues/comments{/number}","contents_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/contents/{+path}","compare_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/merges","archive_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/downloads","issues_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/issues{/number}","pulls_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls{/number}","milestones_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/milestones{/number}","notifications_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/labels{/name}","releases_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/releases{/id}","created_at":"2015-06-24T20:24:13Z","updated_at":"2015-06-24T20:24:14Z","pushed_at":"2015-06-24T20:26:37Z","git_url":"git://github.com/sirenfoxlike/ember-infinity.git","ssh_url":"git@github.com:sirenfoxlike/ember-infinity.git","clone_url":"https://github.com/sirenfoxlike/ember-infinity.git","svn_url":"https://github.com/sirenfoxlike/ember-infinity","homepage":"http://hhff.github.io/ember-infinity/","size":22178,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sirenfoxlike:master","ref":"master","sha":"2c9b49f96736864904d83c3f5494e34e1efef5c2","user":{"login":"sirenfoxlike","id":8755008,"avatar_url":"https://avatars.githubusercontent.com/u/8755008?v=3","gravatar_id":"","url":"https://api.github.com/users/sirenfoxlike","html_url":"https://github.com/sirenfoxlike","followers_url":"https://api.github.com/users/sirenfoxlike/followers","following_url":"https://api.github.com/users/sirenfoxlike/following{/other_user}","gists_url":"https://api.github.com/users/sirenfoxlike/gists{/gist_id}","starred_url":"https://api.github.com/users/sirenfoxlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirenfoxlike/subscriptions","organizations_url":"https://api.github.com/users/sirenfoxlike/orgs","repos_url":"https://api.github.com/users/sirenfoxlike/repos","events_url":"https://api.github.com/users/sirenfoxlike/events{/privacy}","received_events_url":"https://api.github.com/users/sirenfoxlike/received_events","type":"Organization","site_admin":false},"repo":{"id":38009030,"name":"ember-infinity","full_name":"sirenfoxlike/ember-infinity","owner":{"login":"sirenfoxlike","id":8755008,"avatar_url":"https://avatars.githubusercontent.com/u/8755008?v=3","gravatar_id":"","url":"https://api.github.com/users/sirenfoxlike","html_url":"https://github.com/sirenfoxlike","followers_url":"https://api.github.com/users/sirenfoxlike/followers","following_url":"https://api.github.com/users/sirenfoxlike/following{/other_user}","gists_url":"https://api.github.com/users/sirenfoxlike/gists{/gist_id}","starred_url":"https://api.github.com/users/sirenfoxlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirenfoxlike/subscriptions","organizations_url":"https://api.github.com/users/sirenfoxlike/orgs","repos_url":"https://api.github.com/users/sirenfoxlike/repos","events_url":"https://api.github.com/users/sirenfoxlike/events{/privacy}","received_events_url":"https://api.github.com/users/sirenfoxlike/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sirenfoxlike/ember-infinity","description":"Simple, flexible Infinite Scroll for Ember CLI Apps.","fork":true,"url":"https://api.github.com/repos/sirenfoxlike/ember-infinity","forks_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/forks","keys_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/teams","hooks_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/hooks","issue_events_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/issues/events{/number}","events_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/events","assignees_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/assignees{/user}","branches_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/branches{/branch}","tags_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/tags","blobs_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/git/refs{/sha}","trees_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/statuses/{sha}","languages_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/languages","stargazers_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/stargazers","contributors_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/contributors","subscribers_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/subscribers","subscription_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/subscription","commits_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/commits{/sha}","git_commits_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/git/commits{/sha}","comments_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/comments{/number}","issue_comment_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/issues/comments{/number}","contents_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/contents/{+path}","compare_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/merges","archive_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/downloads","issues_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/issues{/number}","pulls_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls{/number}","milestones_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/milestones{/number}","notifications_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/labels{/name}","releases_url":"https://api.github.com/repos/sirenfoxlike/ember-infinity/releases{/id}","created_at":"2015-06-24T20:24:13Z","updated_at":"2015-06-24T20:24:14Z","pushed_at":"2015-06-24T20:26:37Z","git_url":"git://github.com/sirenfoxlike/ember-infinity.git","ssh_url":"git@github.com:sirenfoxlike/ember-infinity.git","clone_url":"https://github.com/sirenfoxlike/ember-infinity.git","svn_url":"https://github.com/sirenfoxlike/ember-infinity","homepage":"http://hhff.github.io/ember-infinity/","size":22178,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/1"},"html":{"href":"https://github.com/sirenfoxlike/ember-infinity/pull/1"},"issue":{"href":"https://api.github.com/repos/sirenfoxlike/ember-infinity/issues/1"},"comments":{"href":"https://api.github.com/repos/sirenfoxlike/ember-infinity/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sirenfoxlike/ember-infinity/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sirenfoxlike/ember-infinity/statuses/93c03e828fff2a6d92570d7b825a9ad7f4964be1"}}}}