{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/serkanyersen/ifvisible.js/pulls/17","id":30502654,"html_url":"https://github.com/serkanyersen/ifvisible.js/pull/17","diff_url":"https://github.com/serkanyersen/ifvisible.js/pull/17.diff","patch_url":"https://github.com/serkanyersen/ifvisible.js/pull/17.patch","issue_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/issues/17","number":17,"state":"closed","locked":false,"title":"Allow checking just visibility without respect to idleness","user":{"login":"ExplodingCabbage","id":2358339,"avatar_url":"https://avatars.githubusercontent.com/u/2358339?v=3","gravatar_id":"","url":"https://api.github.com/users/ExplodingCabbage","html_url":"https://github.com/ExplodingCabbage","followers_url":"https://api.github.com/users/ExplodingCabbage/followers","following_url":"https://api.github.com/users/ExplodingCabbage/following{/other_user}","gists_url":"https://api.github.com/users/ExplodingCabbage/gists{/gist_id}","starred_url":"https://api.github.com/users/ExplodingCabbage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExplodingCabbage/subscriptions","organizations_url":"https://api.github.com/users/ExplodingCabbage/orgs","repos_url":"https://api.github.com/users/ExplodingCabbage/repos","events_url":"https://api.github.com/users/ExplodingCabbage/events{/privacy}","received_events_url":"https://api.github.com/users/ExplodingCabbage/received_events","type":"User","site_admin":false},"body":"Previously the `now()` method existed that returned true if the state was 'active' and false if it was 'idle' or 'hidden'. But sometimes I'd like to be able to just check visibility without regard to idleness.\r\n\r\nThe documentation of the `now` method was also misleading, and I've modified it to clarify its behaviour.\r\n\r\nNote: I'm CoffeeScript-illiterate and simply ran `coffee -cm ifvisible.coffee` to compile this after a fresh install of CoffeeScript through Node. I got a map file with a different file name, so just deleted the old one and rolled with it. Let me know if I've screwed up in some way.","created_at":"2015-03-04T20:45:38Z","updated_at":"2015-05-24T07:24:04Z","closed_at":"2015-05-24T07:24:04Z","merged_at":null,"merge_commit_sha":"760c6cd2a946bffccc274d7481edadd28227f7f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/pulls/17/commits","review_comments_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/pulls/17/comments","review_comment_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/issues/17/comments","statuses_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/statuses/9daeca599d5f53e877c1e43e529e38a09086fa90","head":{"label":"ExplodingCabbage:allow_checking_actual_visibility","ref":"allow_checking_actual_visibility","sha":"9daeca599d5f53e877c1e43e529e38a09086fa90","user":{"login":"ExplodingCabbage","id":2358339,"avatar_url":"https://avatars.githubusercontent.com/u/2358339?v=3","gravatar_id":"","url":"https://api.github.com/users/ExplodingCabbage","html_url":"https://github.com/ExplodingCabbage","followers_url":"https://api.github.com/users/ExplodingCabbage/followers","following_url":"https://api.github.com/users/ExplodingCabbage/following{/other_user}","gists_url":"https://api.github.com/users/ExplodingCabbage/gists{/gist_id}","starred_url":"https://api.github.com/users/ExplodingCabbage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExplodingCabbage/subscriptions","organizations_url":"https://api.github.com/users/ExplodingCabbage/orgs","repos_url":"https://api.github.com/users/ExplodingCabbage/repos","events_url":"https://api.github.com/users/ExplodingCabbage/events{/privacy}","received_events_url":"https://api.github.com/users/ExplodingCabbage/received_events","type":"User","site_admin":false},"repo":{"id":31672928,"name":"ifvisible.js","full_name":"ExplodingCabbage/ifvisible.js","owner":{"login":"ExplodingCabbage","id":2358339,"avatar_url":"https://avatars.githubusercontent.com/u/2358339?v=3","gravatar_id":"","url":"https://api.github.com/users/ExplodingCabbage","html_url":"https://github.com/ExplodingCabbage","followers_url":"https://api.github.com/users/ExplodingCabbage/followers","following_url":"https://api.github.com/users/ExplodingCabbage/following{/other_user}","gists_url":"https://api.github.com/users/ExplodingCabbage/gists{/gist_id}","starred_url":"https://api.github.com/users/ExplodingCabbage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExplodingCabbage/subscriptions","organizations_url":"https://api.github.com/users/ExplodingCabbage/orgs","repos_url":"https://api.github.com/users/ExplodingCabbage/repos","events_url":"https://api.github.com/users/ExplodingCabbage/events{/privacy}","received_events_url":"https://api.github.com/users/ExplodingCabbage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ExplodingCabbage/ifvisible.js","description":"Crossbrowser & lightweight way to check if user is looking at the page or interacting with it.","fork":true,"url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js","forks_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/forks","keys_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/teams","hooks_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/hooks","issue_events_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/issues/events{/number}","events_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/events","assignees_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/assignees{/user}","branches_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/branches{/branch}","tags_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/tags","blobs_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/statuses/{sha}","languages_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/languages","stargazers_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/stargazers","contributors_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/contributors","subscribers_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/subscribers","subscription_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/subscription","commits_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/contents/{+path}","compare_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/merges","archive_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/downloads","issues_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/issues{/number}","pulls_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/pulls{/number}","milestones_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/milestones{/number}","notifications_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/labels{/name}","releases_url":"https://api.github.com/repos/ExplodingCabbage/ifvisible.js/releases{/id}","created_at":"2015-03-04T18:31:00Z","updated_at":"2015-03-04T18:31:01Z","pushed_at":"2015-03-04T21:01:15Z","git_url":"git://github.com/ExplodingCabbage/ifvisible.js.git","ssh_url":"git@github.com:ExplodingCabbage/ifvisible.js.git","clone_url":"https://github.com/ExplodingCabbage/ifvisible.js.git","svn_url":"https://github.com/ExplodingCabbage/ifvisible.js","homepage":"http://serkanyersen.github.com/ifvisible.js/","size":626,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"serkanyersen:master","ref":"master","sha":"193c994ff942b96eb0e72b04bf1971e2a1045c1e","user":{"login":"serkanyersen","id":30582,"avatar_url":"https://avatars.githubusercontent.com/u/30582?v=3","gravatar_id":"","url":"https://api.github.com/users/serkanyersen","html_url":"https://github.com/serkanyersen","followers_url":"https://api.github.com/users/serkanyersen/followers","following_url":"https://api.github.com/users/serkanyersen/following{/other_user}","gists_url":"https://api.github.com/users/serkanyersen/gists{/gist_id}","starred_url":"https://api.github.com/users/serkanyersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkanyersen/subscriptions","organizations_url":"https://api.github.com/users/serkanyersen/orgs","repos_url":"https://api.github.com/users/serkanyersen/repos","events_url":"https://api.github.com/users/serkanyersen/events{/privacy}","received_events_url":"https://api.github.com/users/serkanyersen/received_events","type":"User","site_admin":false},"repo":{"id":4366849,"name":"ifvisible.js","full_name":"serkanyersen/ifvisible.js","owner":{"login":"serkanyersen","id":30582,"avatar_url":"https://avatars.githubusercontent.com/u/30582?v=3","gravatar_id":"","url":"https://api.github.com/users/serkanyersen","html_url":"https://github.com/serkanyersen","followers_url":"https://api.github.com/users/serkanyersen/followers","following_url":"https://api.github.com/users/serkanyersen/following{/other_user}","gists_url":"https://api.github.com/users/serkanyersen/gists{/gist_id}","starred_url":"https://api.github.com/users/serkanyersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkanyersen/subscriptions","organizations_url":"https://api.github.com/users/serkanyersen/orgs","repos_url":"https://api.github.com/users/serkanyersen/repos","events_url":"https://api.github.com/users/serkanyersen/events{/privacy}","received_events_url":"https://api.github.com/users/serkanyersen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/serkanyersen/ifvisible.js","description":"Crossbrowser & lightweight way to check if user is looking at the page or interacting with it.","fork":false,"url":"https://api.github.com/repos/serkanyersen/ifvisible.js","forks_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/forks","keys_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/teams","hooks_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/hooks","issue_events_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/issues/events{/number}","events_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/events","assignees_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/assignees{/user}","branches_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/branches{/branch}","tags_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/tags","blobs_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/statuses/{sha}","languages_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/languages","stargazers_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/stargazers","contributors_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/contributors","subscribers_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/subscribers","subscription_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/subscription","commits_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/contents/{+path}","compare_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/merges","archive_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/downloads","issues_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/issues{/number}","pulls_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/pulls{/number}","milestones_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/milestones{/number}","notifications_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/labels{/name}","releases_url":"https://api.github.com/repos/serkanyersen/ifvisible.js/releases{/id}","created_at":"2012-05-18T07:38:01Z","updated_at":"2015-05-22T15:28:20Z","pushed_at":"2015-05-24T07:24:03Z","git_url":"git://github.com/serkanyersen/ifvisible.js.git","ssh_url":"git@github.com:serkanyersen/ifvisible.js.git","clone_url":"https://github.com/serkanyersen/ifvisible.js.git","svn_url":"https://github.com/serkanyersen/ifvisible.js","homepage":"http://serkanyersen.github.com/ifvisible.js/","size":792,"stargazers_count":1153,"watchers_count":1153,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":91,"mirror_url":null,"open_issues_count":4,"forks":91,"open_issues":4,"watchers":1153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/serkanyersen/ifvisible.js/pulls/17"},"html":{"href":"https://github.com/serkanyersen/ifvisible.js/pull/17"},"issue":{"href":"https://api.github.com/repos/serkanyersen/ifvisible.js/issues/17"},"comments":{"href":"https://api.github.com/repos/serkanyersen/ifvisible.js/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/serkanyersen/ifvisible.js/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/serkanyersen/ifvisible.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/serkanyersen/ifvisible.js/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/serkanyersen/ifvisible.js/statuses/9daeca599d5f53e877c1e43e529e38a09086fa90"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":47,"deletions":38,"changed_files":5}}