{"action":"closed","number":106,"pull_request":{"url":"https://api.github.com/repos/Becklyn/mojave/pulls/106","id":205376387,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1Mzc2Mzg3","html_url":"https://github.com/Becklyn/mojave/pull/106","diff_url":"https://github.com/Becklyn/mojave/pull/106.diff","patch_url":"https://github.com/Becklyn/mojave/pull/106.patch","issue_url":"https://api.github.com/repos/Becklyn/mojave/issues/106","number":106,"state":"closed","locked":false,"title":"Add hasAttr and hasData","user":{"login":"keichinger","id":439899,"node_id":"MDQ6VXNlcjQzOTg5OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/439899?v=4","gravatar_id":"","url":"https://api.github.com/users/keichinger","html_url":"https://github.com/keichinger","followers_url":"https://api.github.com/users/keichinger/followers","following_url":"https://api.github.com/users/keichinger/following{/other_user}","gists_url":"https://api.github.com/users/keichinger/gists{/gist_id}","starred_url":"https://api.github.com/users/keichinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keichinger/subscriptions","organizations_url":"https://api.github.com/users/keichinger/orgs","repos_url":"https://api.github.com/users/keichinger/repos","events_url":"https://api.github.com/users/keichinger/events{/privacy}","received_events_url":"https://api.github.com/users/keichinger/received_events","type":"User","site_admin":false},"body":"Sometimes it's useful to check whether a given attribute is just set, especially for marker attributes used by some frameworks and sites.\r\n\r\nThis PR adds support for this with `hasAttr(element, key)` and `hasData(element, key)`.\r\n\r\nSide effect: with `hasAttr()` it's also possible to check for `data-*` attributes.","created_at":"2018-08-01T10:17:32Z","updated_at":"2018-08-02T14:56:44Z","closed_at":"2018-08-02T14:56:44Z","merged_at":"2018-08-02T14:56:44Z","merge_commit_sha":"54a6d9647ea18138ba742847d970390cedba3f93","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":217430254,"node_id":"MDU6TGFiZWwyMTc0MzAyNTQ=","url":"https://api.github.com/repos/Becklyn/mojave/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/Becklyn/mojave/pulls/106/commits","review_comments_url":"https://api.github.com/repos/Becklyn/mojave/pulls/106/comments","review_comment_url":"https://api.github.com/repos/Becklyn/mojave/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Becklyn/mojave/issues/106/comments","statuses_url":"https://api.github.com/repos/Becklyn/mojave/statuses/20745ab63e48e8558476d87b6671904a1222b871","head":{"label":"Becklyn:hasAttr-hasData","ref":"hasAttr-hasData","sha":"20745ab63e48e8558476d87b6671904a1222b871","user":{"login":"Becklyn","id":1044355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNDQzNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1044355?v=4","gravatar_id":"","url":"https://api.github.com/users/Becklyn","html_url":"https://github.com/Becklyn","followers_url":"https://api.github.com/users/Becklyn/followers","following_url":"https://api.github.com/users/Becklyn/following{/other_user}","gists_url":"https://api.github.com/users/Becklyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Becklyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Becklyn/subscriptions","organizations_url":"https://api.github.com/users/Becklyn/orgs","repos_url":"https://api.github.com/users/Becklyn/repos","events_url":"https://api.github.com/users/Becklyn/events{/privacy}","received_events_url":"https://api.github.com/users/Becklyn/received_events","type":"Organization","site_admin":false},"repo":{"id":36447036,"node_id":"MDEwOlJlcG9zaXRvcnkzNjQ0NzAzNg==","name":"mojave","full_name":"Becklyn/mojave","owner":{"login":"Becklyn","id":1044355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNDQzNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1044355?v=4","gravatar_id":"","url":"https://api.github.com/users/Becklyn","html_url":"https://github.com/Becklyn","followers_url":"https://api.github.com/users/Becklyn/followers","following_url":"https://api.github.com/users/Becklyn/following{/other_user}","gists_url":"https://api.github.com/users/Becklyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Becklyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Becklyn/subscriptions","organizations_url":"https://api.github.com/users/Becklyn/orgs","repos_url":"https://api.github.com/users/Becklyn/repos","events_url":"https://api.github.com/users/Becklyn/events{/privacy}","received_events_url":"https://api.github.com/users/Becklyn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Becklyn/mojave","description":"A library of commonly used JavaScript tools and helpers by Becklyn","fork":false,"url":"https://api.github.com/repos/Becklyn/mojave","forks_url":"https://api.github.com/repos/Becklyn/mojave/forks","keys_url":"https://api.github.com/repos/Becklyn/mojave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Becklyn/mojave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Becklyn/mojave/teams","hooks_url":"https://api.github.com/repos/Becklyn/mojave/hooks","issue_events_url":"https://api.github.com/repos/Becklyn/mojave/issues/events{/number}","events_url":"https://api.github.com/repos/Becklyn/mojave/events","assignees_url":"https://api.github.com/repos/Becklyn/mojave/assignees{/user}","branches_url":"https://api.github.com/repos/Becklyn/mojave/branches{/branch}","tags_url":"https://api.github.com/repos/Becklyn/mojave/tags","blobs_url":"https://api.github.com/repos/Becklyn/mojave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Becklyn/mojave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Becklyn/mojave/git/refs{/sha}","trees_url":"https://api.github.com/repos/Becklyn/mojave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Becklyn/mojave/statuses/{sha}","languages_url":"https://api.github.com/repos/Becklyn/mojave/languages","stargazers_url":"https://api.github.com/repos/Becklyn/mojave/stargazers","contributors_url":"https://api.github.com/repos/Becklyn/mojave/contributors","subscribers_url":"https://api.github.com/repos/Becklyn/mojave/subscribers","subscription_url":"https://api.github.com/repos/Becklyn/mojave/subscription","commits_url":"https://api.github.com/repos/Becklyn/mojave/commits{/sha}","git_commits_url":"https://api.github.com/repos/Becklyn/mojave/git/commits{/sha}","comments_url":"https://api.github.com/repos/Becklyn/mojave/comments{/number}","issue_comment_url":"https://api.github.com/repos/Becklyn/mojave/issues/comments{/number}","contents_url":"https://api.github.com/repos/Becklyn/mojave/contents/{+path}","compare_url":"https://api.github.com/repos/Becklyn/mojave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Becklyn/mojave/merges","archive_url":"https://api.github.com/repos/Becklyn/mojave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Becklyn/mojave/downloads","issues_url":"https://api.github.com/repos/Becklyn/mojave/issues{/number}","pulls_url":"https://api.github.com/repos/Becklyn/mojave/pulls{/number}","milestones_url":"https://api.github.com/repos/Becklyn/mojave/milestones{/number}","notifications_url":"https://api.github.com/repos/Becklyn/mojave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Becklyn/mojave/labels{/name}","releases_url":"https://api.github.com/repos/Becklyn/mojave/releases{/id}","deployments_url":"https://api.github.com/repos/Becklyn/mojave/deployments","created_at":"2015-05-28T15:14:03Z","updated_at":"2018-07-31T10:07:35Z","pushed_at":"2018-08-02T14:56:44Z","git_url":"git://github.com/Becklyn/mojave.git","ssh_url":"git@github.com:Becklyn/mojave.git","clone_url":"https://github.com/Becklyn/mojave.git","svn_url":"https://github.com/Becklyn/mojave","homepage":null,"size":368,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":4,"open_issues":20,"watchers":3,"default_branch":"master"}},"base":{"label":"Becklyn:master","ref":"master","sha":"3d9e8dafeefba16bac5b344350f77737858a2a0a","user":{"login":"Becklyn","id":1044355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNDQzNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1044355?v=4","gravatar_id":"","url":"https://api.github.com/users/Becklyn","html_url":"https://github.com/Becklyn","followers_url":"https://api.github.com/users/Becklyn/followers","following_url":"https://api.github.com/users/Becklyn/following{/other_user}","gists_url":"https://api.github.com/users/Becklyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Becklyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Becklyn/subscriptions","organizations_url":"https://api.github.com/users/Becklyn/orgs","repos_url":"https://api.github.com/users/Becklyn/repos","events_url":"https://api.github.com/users/Becklyn/events{/privacy}","received_events_url":"https://api.github.com/users/Becklyn/received_events","type":"Organization","site_admin":false},"repo":{"id":36447036,"node_id":"MDEwOlJlcG9zaXRvcnkzNjQ0NzAzNg==","name":"mojave","full_name":"Becklyn/mojave","owner":{"login":"Becklyn","id":1044355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNDQzNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1044355?v=4","gravatar_id":"","url":"https://api.github.com/users/Becklyn","html_url":"https://github.com/Becklyn","followers_url":"https://api.github.com/users/Becklyn/followers","following_url":"https://api.github.com/users/Becklyn/following{/other_user}","gists_url":"https://api.github.com/users/Becklyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Becklyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Becklyn/subscriptions","organizations_url":"https://api.github.com/users/Becklyn/orgs","repos_url":"https://api.github.com/users/Becklyn/repos","events_url":"https://api.github.com/users/Becklyn/events{/privacy}","received_events_url":"https://api.github.com/users/Becklyn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Becklyn/mojave","description":"A library of commonly used JavaScript tools and helpers by Becklyn","fork":false,"url":"https://api.github.com/repos/Becklyn/mojave","forks_url":"https://api.github.com/repos/Becklyn/mojave/forks","keys_url":"https://api.github.com/repos/Becklyn/mojave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Becklyn/mojave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Becklyn/mojave/teams","hooks_url":"https://api.github.com/repos/Becklyn/mojave/hooks","issue_events_url":"https://api.github.com/repos/Becklyn/mojave/issues/events{/number}","events_url":"https://api.github.com/repos/Becklyn/mojave/events","assignees_url":"https://api.github.com/repos/Becklyn/mojave/assignees{/user}","branches_url":"https://api.github.com/repos/Becklyn/mojave/branches{/branch}","tags_url":"https://api.github.com/repos/Becklyn/mojave/tags","blobs_url":"https://api.github.com/repos/Becklyn/mojave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Becklyn/mojave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Becklyn/mojave/git/refs{/sha}","trees_url":"https://api.github.com/repos/Becklyn/mojave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Becklyn/mojave/statuses/{sha}","languages_url":"https://api.github.com/repos/Becklyn/mojave/languages","stargazers_url":"https://api.github.com/repos/Becklyn/mojave/stargazers","contributors_url":"https://api.github.com/repos/Becklyn/mojave/contributors","subscribers_url":"https://api.github.com/repos/Becklyn/mojave/subscribers","subscription_url":"https://api.github.com/repos/Becklyn/mojave/subscription","commits_url":"https://api.github.com/repos/Becklyn/mojave/commits{/sha}","git_commits_url":"https://api.github.com/repos/Becklyn/mojave/git/commits{/sha}","comments_url":"https://api.github.com/repos/Becklyn/mojave/comments{/number}","issue_comment_url":"https://api.github.com/repos/Becklyn/mojave/issues/comments{/number}","contents_url":"https://api.github.com/repos/Becklyn/mojave/contents/{+path}","compare_url":"https://api.github.com/repos/Becklyn/mojave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Becklyn/mojave/merges","archive_url":"https://api.github.com/repos/Becklyn/mojave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Becklyn/mojave/downloads","issues_url":"https://api.github.com/repos/Becklyn/mojave/issues{/number}","pulls_url":"https://api.github.com/repos/Becklyn/mojave/pulls{/number}","milestones_url":"https://api.github.com/repos/Becklyn/mojave/milestones{/number}","notifications_url":"https://api.github.com/repos/Becklyn/mojave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Becklyn/mojave/labels{/name}","releases_url":"https://api.github.com/repos/Becklyn/mojave/releases{/id}","deployments_url":"https://api.github.com/repos/Becklyn/mojave/deployments","created_at":"2015-05-28T15:14:03Z","updated_at":"2018-07-31T10:07:35Z","pushed_at":"2018-08-02T14:56:44Z","git_url":"git://github.com/Becklyn/mojave.git","ssh_url":"git@github.com:Becklyn/mojave.git","clone_url":"https://github.com/Becklyn/mojave.git","svn_url":"https://github.com/Becklyn/mojave","homepage":null,"size":368,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":4,"open_issues":20,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Becklyn/mojave/pulls/106"},"html":{"href":"https://github.com/Becklyn/mojave/pull/106"},"issue":{"href":"https://api.github.com/repos/Becklyn/mojave/issues/106"},"comments":{"href":"https://api.github.com/repos/Becklyn/mojave/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/Becklyn/mojave/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/Becklyn/mojave/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Becklyn/mojave/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/Becklyn/mojave/statuses/20745ab63e48e8558476d87b6671904a1222b871"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"apfelbox","id":1032411,"node_id":"MDQ6VXNlcjEwMzI0MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1032411?v=4","gravatar_id":"","url":"https://api.github.com/users/apfelbox","html_url":"https://github.com/apfelbox","followers_url":"https://api.github.com/users/apfelbox/followers","following_url":"https://api.github.com/users/apfelbox/following{/other_user}","gists_url":"https://api.github.com/users/apfelbox/gists{/gist_id}","starred_url":"https://api.github.com/users/apfelbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apfelbox/subscriptions","organizations_url":"https://api.github.com/users/apfelbox/orgs","repos_url":"https://api.github.com/users/apfelbox/repos","events_url":"https://api.github.com/users/apfelbox/events{/privacy}","received_events_url":"https://api.github.com/users/apfelbox/received_events","type":"User","site_admin":false},"comments":9,"review_comments":3,"maintainer_can_modify":false,"commits":6,"additions":90,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"apfelbox"}}