{"action":"created","issue":{"url":"https://api.github.com/repos/dunnbro/pagination/issues/10","labels_url":"https://api.github.com/repos/dunnbro/pagination/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/dunnbro/pagination/issues/10/comments","events_url":"https://api.github.com/repos/dunnbro/pagination/issues/10/events","html_url":"https://github.com/dunnbro/pagination/issues/10","id":66203113,"number":10,"title":"if statements in paginate.checkPage()","user":{"login":"dogsGhost","id":1715510,"avatar_url":"https://avatars.githubusercontent.com/u/1715510?v=3","gravatar_id":"","url":"https://api.github.com/users/dogsGhost","html_url":"https://github.com/dogsGhost","followers_url":"https://api.github.com/users/dogsGhost/followers","following_url":"https://api.github.com/users/dogsGhost/following{/other_user}","gists_url":"https://api.github.com/users/dogsGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/dogsGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogsGhost/subscriptions","organizations_url":"https://api.github.com/users/dogsGhost/orgs","repos_url":"https://api.github.com/users/dogsGhost/repos","events_url":"https://api.github.com/users/dogsGhost/events{/privacy}","received_events_url":"https://api.github.com/users/dogsGhost/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dunnbro/pagination/labels/refactoring","name":"refactoring","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"dunnbro","id":11452374,"avatar_url":"https://avatars.githubusercontent.com/u/11452374?v=3","gravatar_id":"","url":"https://api.github.com/users/dunnbro","html_url":"https://github.com/dunnbro","followers_url":"https://api.github.com/users/dunnbro/followers","following_url":"https://api.github.com/users/dunnbro/following{/other_user}","gists_url":"https://api.github.com/users/dunnbro/gists{/gist_id}","starred_url":"https://api.github.com/users/dunnbro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dunnbro/subscriptions","organizations_url":"https://api.github.com/users/dunnbro/orgs","repos_url":"https://api.github.com/users/dunnbro/repos","events_url":"https://api.github.com/users/dunnbro/events{/privacy}","received_events_url":"https://api.github.com/users/dunnbro/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dunnbro/pagination/milestones/1","html_url":"https://github.com/dunnbro/pagination/milestones/1","labels_url":"https://api.github.com/repos/dunnbro/pagination/milestones/1/labels","id":1045638,"number":1,"title":"1","description":null,"creator":{"login":"dogsGhost","id":1715510,"avatar_url":"https://avatars.githubusercontent.com/u/1715510?v=3","gravatar_id":"","url":"https://api.github.com/users/dogsGhost","html_url":"https://github.com/dogsGhost","followers_url":"https://api.github.com/users/dogsGhost/followers","following_url":"https://api.github.com/users/dogsGhost/following{/other_user}","gists_url":"https://api.github.com/users/dogsGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/dogsGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogsGhost/subscriptions","organizations_url":"https://api.github.com/users/dogsGhost/orgs","repos_url":"https://api.github.com/users/dogsGhost/repos","events_url":"https://api.github.com/users/dogsGhost/events{/privacy}","received_events_url":"https://api.github.com/users/dogsGhost/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":5,"state":"open","created_at":"2015-03-30T21:15:33Z","updated_at":"2015-04-04T16:39:25Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-04-03T18:26:07Z","updated_at":"2015-04-08T03:31:48Z","closed_at":null,"body":"You can select multiple individual elements to do the same action to in jquery:\r\n\r\n     $('#js-first, #js-previous').prop('disabled', true);\r\n\r\nKnowing this you can refactor these statements, which may show an easier way to write this."},"comment":{"url":"https://api.github.com/repos/dunnbro/pagination/issues/comments/90793695","html_url":"https://github.com/dunnbro/pagination/issues/10#issuecomment-90793695","issue_url":"https://api.github.com/repos/dunnbro/pagination/issues/10","id":90793695,"user":{"login":"dunnbro","id":11452374,"avatar_url":"https://avatars.githubusercontent.com/u/11452374?v=3","gravatar_id":"","url":"https://api.github.com/users/dunnbro","html_url":"https://github.com/dunnbro","followers_url":"https://api.github.com/users/dunnbro/followers","following_url":"https://api.github.com/users/dunnbro/following{/other_user}","gists_url":"https://api.github.com/users/dunnbro/gists{/gist_id}","starred_url":"https://api.github.com/users/dunnbro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dunnbro/subscriptions","organizations_url":"https://api.github.com/users/dunnbro/orgs","repos_url":"https://api.github.com/users/dunnbro/repos","events_url":"https://api.github.com/users/dunnbro/events{/privacy}","received_events_url":"https://api.github.com/users/dunnbro/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T03:31:48Z","updated_at":"2015-04-08T03:31:48Z","body":"Condensed these statements as specified. "}}