{"action":"created","comment":{"url":"https://api.github.com/repos/PolymerElements/paper-item/pulls/comments/45004560","id":45004560,"diff_hunk":"@@ -0,0 +1,37 @@\n+<!--\n+@license\n+Copyright (c) 2015 The Polymer Project Authors. All rights reserved.\n+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\n+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\n+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\n+Code distributed by Google as part of the polymer project is also\n+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n+-->\n+\n+<link rel=\"import\" href=\"../polymer/polymer.html\">\n+<link rel=\"import\" href=\"../iron-behaviors/iron-control-state.html\">\n+<link rel=\"import\" href=\"../iron-behaviors/iron-button-state.html\">\n+\n+<!--\n+`PaperItemBehavior` is a convenience behavior shared by <paper-item> and\n+<paper-icon-item> that manages the shared control states and attributes of\n+the items.\n+-->\n+\n+<script>\n+  /** @polymerBehavior Polymer.PaperItemBehavior */\n+  Polymer.PaperItemBehaviorImpl = {\n+    hostAttributes: {\n+      role: 'option',\n+      tabindex: '0'\n+    }","path":"paper-item-behavior.html","position":27,"original_position":27,"commit_id":"fe95dbbd292fa08c29d51aef902056761aaab932","original_commit_id":"fe95dbbd292fa08c29d51aef902056761aaab932","user":{"login":"cdata","id":240083,"avatar_url":"https://avatars.githubusercontent.com/u/240083?v=3","gravatar_id":"","url":"https://api.github.com/users/cdata","html_url":"https://github.com/cdata","followers_url":"https://api.github.com/users/cdata/followers","following_url":"https://api.github.com/users/cdata/following{/other_user}","gists_url":"https://api.github.com/users/cdata/gists{/gist_id}","starred_url":"https://api.github.com/users/cdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdata/subscriptions","organizations_url":"https://api.github.com/users/cdata/orgs","repos_url":"https://api.github.com/users/cdata/repos","events_url":"https://api.github.com/users/cdata/events{/privacy}","received_events_url":"https://api.github.com/users/cdata/received_events","type":"User","site_admin":false},"body":"![http://i.imgur.com/Qvdv0OP.jpg](http://i.imgur.com/Qvdv0OP.jpg)","created_at":"2015-11-17T00:02:22Z","updated_at":"2015-11-17T00:02:22Z","html_url":"https://github.com/PolymerElements/paper-item/pull/29#discussion_r45004560","pull_request_url":"https://api.github.com/repos/PolymerElements/paper-item/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/paper-item/pulls/comments/45004560"},"html":{"href":"https://github.com/PolymerElements/paper-item/pull/29#discussion_r45004560"},"pull_request":{"href":"https://api.github.com/repos/PolymerElements/paper-item/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/PolymerElements/paper-item/pulls/29","id":46316464,"html_url":"https://github.com/PolymerElements/paper-item/pull/29","diff_url":"https://github.com/PolymerElements/paper-item/pull/29.diff","patch_url":"https://github.com/PolymerElements/paper-item/pull/29.patch","issue_url":"https://api.github.com/repos/PolymerElements/paper-item/issues/29","number":29,"state":"open","locked":false,"title":"clean up shared code and add tests","user":{"login":"notwaldorf","id":1369170,"avatar_url":"https://avatars.githubusercontent.com/u/1369170?v=3","gravatar_id":"","url":"https://api.github.com/users/notwaldorf","html_url":"https://github.com/notwaldorf","followers_url":"https://api.github.com/users/notwaldorf/followers","following_url":"https://api.github.com/users/notwaldorf/following{/other_user}","gists_url":"https://api.github.com/users/notwaldorf/gists{/gist_id}","starred_url":"https://api.github.com/users/notwaldorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notwaldorf/subscriptions","organizations_url":"https://api.github.com/users/notwaldorf/orgs","repos_url":"https://api.github.com/users/notwaldorf/repos","events_url":"https://api.github.com/users/notwaldorf/events{/privacy}","received_events_url":"https://api.github.com/users/notwaldorf/received_events","type":"User","site_admin":false},"body":"Pulls out all the common code into a shared behaviour because copy :spaghetti: is bad news :bear::bear:\r\n\r\nAnd adds :tada: tests :tada: !!!\r\n\r\n(fixes the comment in https://github.com/PolymerElements/paper-item/issues/38)","created_at":"2015-09-29T18:50:24Z","updated_at":"2015-11-17T00:02:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f87d3949a31dcdffbd6fa0cfcc2ec0b6ece15de5","assignee":{"login":"cdata","id":240083,"avatar_url":"https://avatars.githubusercontent.com/u/240083?v=3","gravatar_id":"","url":"https://api.github.com/users/cdata","html_url":"https://github.com/cdata","followers_url":"https://api.github.com/users/cdata/followers","following_url":"https://api.github.com/users/cdata/following{/other_user}","gists_url":"https://api.github.com/users/cdata/gists{/gist_id}","starred_url":"https://api.github.com/users/cdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdata/subscriptions","organizations_url":"https://api.github.com/users/cdata/orgs","repos_url":"https://api.github.com/users/cdata/repos","events_url":"https://api.github.com/users/cdata/events{/privacy}","received_events_url":"https://api.github.com/users/cdata/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/PolymerElements/paper-item/pulls/29/commits","review_comments_url":"https://api.github.com/repos/PolymerElements/paper-item/pulls/29/comments","review_comment_url":"https://api.github.com/repos/PolymerElements/paper-item/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PolymerElements/paper-item/issues/29/comments","statuses_url":"https://api.github.com/repos/PolymerElements/paper-item/statuses/fe95dbbd292fa08c29d51aef902056761aaab932","head":{"label":"PolymerElements:fix-events","ref":"fix-events","sha":"fe95dbbd292fa08c29d51aef902056761aaab932","user":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"repo":{"id":33277530,"name":"paper-item","full_name":"PolymerElements/paper-item","owner":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymerElements/paper-item","description":"Material Design list items","fork":false,"url":"https://api.github.com/repos/PolymerElements/paper-item","forks_url":"https://api.github.com/repos/PolymerElements/paper-item/forks","keys_url":"https://api.github.com/repos/PolymerElements/paper-item/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerElements/paper-item/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerElements/paper-item/teams","hooks_url":"https://api.github.com/repos/PolymerElements/paper-item/hooks","issue_events_url":"https://api.github.com/repos/PolymerElements/paper-item/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerElements/paper-item/events","assignees_url":"https://api.github.com/repos/PolymerElements/paper-item/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerElements/paper-item/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerElements/paper-item/tags","blobs_url":"https://api.github.com/repos/PolymerElements/paper-item/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerElements/paper-item/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerElements/paper-item/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerElements/paper-item/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerElements/paper-item/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerElements/paper-item/languages","stargazers_url":"https://api.github.com/repos/PolymerElements/paper-item/stargazers","contributors_url":"https://api.github.com/repos/PolymerElements/paper-item/contributors","subscribers_url":"https://api.github.com/repos/PolymerElements/paper-item/subscribers","subscription_url":"https://api.github.com/repos/PolymerElements/paper-item/subscription","commits_url":"https://api.github.com/repos/PolymerElements/paper-item/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerElements/paper-item/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerElements/paper-item/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerElements/paper-item/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerElements/paper-item/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerElements/paper-item/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerElements/paper-item/merges","archive_url":"https://api.github.com/repos/PolymerElements/paper-item/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerElements/paper-item/downloads","issues_url":"https://api.github.com/repos/PolymerElements/paper-item/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerElements/paper-item/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerElements/paper-item/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerElements/paper-item/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerElements/paper-item/labels{/name}","releases_url":"https://api.github.com/repos/PolymerElements/paper-item/releases{/id}","created_at":"2015-04-01T23:02:06Z","updated_at":"2015-11-16T09:42:21Z","pushed_at":"2015-11-16T18:54:00Z","git_url":"git://github.com/PolymerElements/paper-item.git","ssh_url":"git@github.com:PolymerElements/paper-item.git","clone_url":"https://github.com/PolymerElements/paper-item.git","svn_url":"https://github.com/PolymerElements/paper-item","homepage":"https://elements.polymer-project.org/elements/paper-item?view=demo:demo/index.html","size":68,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":15,"forks":8,"open_issues":15,"watchers":7,"default_branch":"master"}},"base":{"label":"PolymerElements:master","ref":"master","sha":"0326b9234797793cdb7690bcbd442b6143e7a99b","user":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"repo":{"id":33277530,"name":"paper-item","full_name":"PolymerElements/paper-item","owner":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymerElements/paper-item","description":"Material Design list items","fork":false,"url":"https://api.github.com/repos/PolymerElements/paper-item","forks_url":"https://api.github.com/repos/PolymerElements/paper-item/forks","keys_url":"https://api.github.com/repos/PolymerElements/paper-item/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerElements/paper-item/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerElements/paper-item/teams","hooks_url":"https://api.github.com/repos/PolymerElements/paper-item/hooks","issue_events_url":"https://api.github.com/repos/PolymerElements/paper-item/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerElements/paper-item/events","assignees_url":"https://api.github.com/repos/PolymerElements/paper-item/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerElements/paper-item/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerElements/paper-item/tags","blobs_url":"https://api.github.com/repos/PolymerElements/paper-item/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerElements/paper-item/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerElements/paper-item/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerElements/paper-item/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerElements/paper-item/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerElements/paper-item/languages","stargazers_url":"https://api.github.com/repos/PolymerElements/paper-item/stargazers","contributors_url":"https://api.github.com/repos/PolymerElements/paper-item/contributors","subscribers_url":"https://api.github.com/repos/PolymerElements/paper-item/subscribers","subscription_url":"https://api.github.com/repos/PolymerElements/paper-item/subscription","commits_url":"https://api.github.com/repos/PolymerElements/paper-item/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerElements/paper-item/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerElements/paper-item/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerElements/paper-item/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerElements/paper-item/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerElements/paper-item/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerElements/paper-item/merges","archive_url":"https://api.github.com/repos/PolymerElements/paper-item/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerElements/paper-item/downloads","issues_url":"https://api.github.com/repos/PolymerElements/paper-item/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerElements/paper-item/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerElements/paper-item/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerElements/paper-item/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerElements/paper-item/labels{/name}","releases_url":"https://api.github.com/repos/PolymerElements/paper-item/releases{/id}","created_at":"2015-04-01T23:02:06Z","updated_at":"2015-11-16T09:42:21Z","pushed_at":"2015-11-16T18:54:00Z","git_url":"git://github.com/PolymerElements/paper-item.git","ssh_url":"git@github.com:PolymerElements/paper-item.git","clone_url":"https://github.com/PolymerElements/paper-item.git","svn_url":"https://github.com/PolymerElements/paper-item","homepage":"https://elements.polymer-project.org/elements/paper-item?view=demo:demo/index.html","size":68,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":15,"forks":8,"open_issues":15,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/paper-item/pulls/29"},"html":{"href":"https://github.com/PolymerElements/paper-item/pull/29"},"issue":{"href":"https://api.github.com/repos/PolymerElements/paper-item/issues/29"},"comments":{"href":"https://api.github.com/repos/PolymerElements/paper-item/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/PolymerElements/paper-item/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/PolymerElements/paper-item/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PolymerElements/paper-item/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/PolymerElements/paper-item/statuses/fe95dbbd292fa08c29d51aef902056761aaab932"}}}}