{"action":"created","comment":{"url":"https://api.github.com/repos/PolymerElements/paper-menu/pulls/comments/28273903","id":28273903,"diff_hunk":"@@ -0,0 +1,330 @@\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=\"../core-selector/core-selectable.html\">\n+<link rel=\"import\" href=\"../layout/x-layout.html\">\n+<link rel=\"import\" href=\"../paper-styles/x-theme.html\">\n+\n+<!--\n+@element paper-menu\n+-->\n+\n+<dom-module id=\"paper-menu\">\n+\n+  <style>\n+\n+    :host {\n+      padding: 8px 0;\n+\n+      background: var(--primary-background-color);\n+      color: var(--primary-text-color);\n+\n+      mixin(--paper-menu);\n+    }\n+\n+    :host > ::content > [disabled] {\n+      color: var(--disabled-text-color);\n+    }\n+\n+    :host > ::content > .core-selected {\n+      position: relative;\n+    }\n+\n+    :host > ::content > .core-selected::after {\n+      mixin(--fit);\n+\n+      background: currentColor;\n+      /* FIXME move to paper-styles for next widget */\n+      opacity: 0.12;\n+      content: '';\n+\n+      mixin(--paper-menu-selected-item);\n+    }\n+\n+    :host > ::content > .core-selected[colored]::after {\n+      opacity: 0.26;\n+\n+      mixin(--paper-menu-colored-selected-item);\n+    }\n+\n+  </style>\n+\n+  <template>\n+\n+    <content></content>\n+\n+  </template>\n+\n+</dom-module>\n+\n+<script>\n+\n+(function() {\n+\n+  // FIXME menu control should be refactored to a more general element\n+\n+  Polymer({\n+\n+    is: 'paper-menu',\n+\n+    enableCustomStyleProperties: true,\n+\n+    mixins: [\n+      Polymer.Core.Selectable","path":"paper-menu.html","position":81,"original_position":81,"commit_id":"a5068ab97a689dd8e272c6a5ffb6763b06f9ee4f","original_commit_id":"a5068ab97a689dd8e272c6a5ffb6763b06f9ee4f","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":"This makes everything make more sense to me now.","created_at":"2015-04-13T20:08:43Z","updated_at":"2015-04-13T20:08:43Z","html_url":"https://github.com/PolymerElements/paper-menu/pull/1#discussion_r28273903","pull_request_url":"https://api.github.com/repos/PolymerElements/paper-menu/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/paper-menu/pulls/comments/28273903"},"html":{"href":"https://github.com/PolymerElements/paper-menu/pull/1#discussion_r28273903"},"pull_request":{"href":"https://api.github.com/repos/PolymerElements/paper-menu/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/PolymerElements/paper-menu/pulls/1","id":32989941,"html_url":"https://github.com/PolymerElements/paper-menu/pull/1","diff_url":"https://github.com/PolymerElements/paper-menu/pull/1.diff","patch_url":"https://github.com/PolymerElements/paper-menu/pull/1.patch","issue_url":"https://api.github.com/repos/PolymerElements/paper-menu/issues/1","number":1,"state":"open","locked":false,"title":"implement paper-menu","user":{"login":"morethanreal","id":1202776,"avatar_url":"https://avatars.githubusercontent.com/u/1202776?v=3","gravatar_id":"","url":"https://api.github.com/users/morethanreal","html_url":"https://github.com/morethanreal","followers_url":"https://api.github.com/users/morethanreal/followers","following_url":"https://api.github.com/users/morethanreal/following{/other_user}","gists_url":"https://api.github.com/users/morethanreal/gists{/gist_id}","starred_url":"https://api.github.com/users/morethanreal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morethanreal/subscriptions","organizations_url":"https://api.github.com/users/morethanreal/orgs","repos_url":"https://api.github.com/users/morethanreal/repos","events_url":"https://api.github.com/users/morethanreal/events{/privacy}","received_events_url":"https://api.github.com/users/morethanreal/received_events","type":"User","site_admin":false},"body":"@cdata PTAL","created_at":"2015-04-09T19:53:00Z","updated_at":"2015-04-13T20:08:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ab71b4e13c0f370a3babe3b497ebe54a394073d","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-menu/pulls/1/commits","review_comments_url":"https://api.github.com/repos/PolymerElements/paper-menu/pulls/1/comments","review_comment_url":"https://api.github.com/repos/PolymerElements/paper-menu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PolymerElements/paper-menu/issues/1/comments","statuses_url":"https://api.github.com/repos/PolymerElements/paper-menu/statuses/a5068ab97a689dd8e272c6a5ffb6763b06f9ee4f","head":{"label":"PolymerElements:initial-impl","ref":"initial-impl","sha":"a5068ab97a689dd8e272c6a5ffb6763b06f9ee4f","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":33689104,"name":"paper-menu","full_name":"PolymerElements/paper-menu","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-menu","description":"A Material Design menu","fork":false,"url":"https://api.github.com/repos/PolymerElements/paper-menu","forks_url":"https://api.github.com/repos/PolymerElements/paper-menu/forks","keys_url":"https://api.github.com/repos/PolymerElements/paper-menu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerElements/paper-menu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerElements/paper-menu/teams","hooks_url":"https://api.github.com/repos/PolymerElements/paper-menu/hooks","issue_events_url":"https://api.github.com/repos/PolymerElements/paper-menu/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerElements/paper-menu/events","assignees_url":"https://api.github.com/repos/PolymerElements/paper-menu/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerElements/paper-menu/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerElements/paper-menu/tags","blobs_url":"https://api.github.com/repos/PolymerElements/paper-menu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerElements/paper-menu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerElements/paper-menu/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerElements/paper-menu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerElements/paper-menu/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerElements/paper-menu/languages","stargazers_url":"https://api.github.com/repos/PolymerElements/paper-menu/stargazers","contributors_url":"https://api.github.com/repos/PolymerElements/paper-menu/contributors","subscribers_url":"https://api.github.com/repos/PolymerElements/paper-menu/subscribers","subscription_url":"https://api.github.com/repos/PolymerElements/paper-menu/subscription","commits_url":"https://api.github.com/repos/PolymerElements/paper-menu/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerElements/paper-menu/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerElements/paper-menu/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerElements/paper-menu/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerElements/paper-menu/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerElements/paper-menu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerElements/paper-menu/merges","archive_url":"https://api.github.com/repos/PolymerElements/paper-menu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerElements/paper-menu/downloads","issues_url":"https://api.github.com/repos/PolymerElements/paper-menu/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerElements/paper-menu/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerElements/paper-menu/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerElements/paper-menu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerElements/paper-menu/labels{/name}","releases_url":"https://api.github.com/repos/PolymerElements/paper-menu/releases{/id}","created_at":"2015-04-09T19:47:21Z","updated_at":"2015-04-09T19:47:21Z","pushed_at":"2015-04-13T18:43:25Z","git_url":"git://github.com/PolymerElements/paper-menu.git","ssh_url":"git@github.com:PolymerElements/paper-menu.git","clone_url":"https://github.com/PolymerElements/paper-menu.git","svn_url":"https://github.com/PolymerElements/paper-menu","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"PolymerElements:master","ref":"master","sha":"a1603ee66ff0cf3f3127181f90f47485a865b870","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":33689104,"name":"paper-menu","full_name":"PolymerElements/paper-menu","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-menu","description":"A Material Design menu","fork":false,"url":"https://api.github.com/repos/PolymerElements/paper-menu","forks_url":"https://api.github.com/repos/PolymerElements/paper-menu/forks","keys_url":"https://api.github.com/repos/PolymerElements/paper-menu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerElements/paper-menu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerElements/paper-menu/teams","hooks_url":"https://api.github.com/repos/PolymerElements/paper-menu/hooks","issue_events_url":"https://api.github.com/repos/PolymerElements/paper-menu/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerElements/paper-menu/events","assignees_url":"https://api.github.com/repos/PolymerElements/paper-menu/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerElements/paper-menu/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerElements/paper-menu/tags","blobs_url":"https://api.github.com/repos/PolymerElements/paper-menu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerElements/paper-menu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerElements/paper-menu/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerElements/paper-menu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerElements/paper-menu/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerElements/paper-menu/languages","stargazers_url":"https://api.github.com/repos/PolymerElements/paper-menu/stargazers","contributors_url":"https://api.github.com/repos/PolymerElements/paper-menu/contributors","subscribers_url":"https://api.github.com/repos/PolymerElements/paper-menu/subscribers","subscription_url":"https://api.github.com/repos/PolymerElements/paper-menu/subscription","commits_url":"https://api.github.com/repos/PolymerElements/paper-menu/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerElements/paper-menu/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerElements/paper-menu/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerElements/paper-menu/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerElements/paper-menu/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerElements/paper-menu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerElements/paper-menu/merges","archive_url":"https://api.github.com/repos/PolymerElements/paper-menu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerElements/paper-menu/downloads","issues_url":"https://api.github.com/repos/PolymerElements/paper-menu/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerElements/paper-menu/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerElements/paper-menu/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerElements/paper-menu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerElements/paper-menu/labels{/name}","releases_url":"https://api.github.com/repos/PolymerElements/paper-menu/releases{/id}","created_at":"2015-04-09T19:47:21Z","updated_at":"2015-04-09T19:47:21Z","pushed_at":"2015-04-13T18:43:25Z","git_url":"git://github.com/PolymerElements/paper-menu.git","ssh_url":"git@github.com:PolymerElements/paper-menu.git","clone_url":"https://github.com/PolymerElements/paper-menu.git","svn_url":"https://github.com/PolymerElements/paper-menu","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"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/PolymerElements/paper-menu/pulls/1"},"html":{"href":"https://github.com/PolymerElements/paper-menu/pull/1"},"issue":{"href":"https://api.github.com/repos/PolymerElements/paper-menu/issues/1"},"comments":{"href":"https://api.github.com/repos/PolymerElements/paper-menu/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/PolymerElements/paper-menu/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/PolymerElements/paper-menu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PolymerElements/paper-menu/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/PolymerElements/paper-menu/statuses/a5068ab97a689dd8e272c6a5ffb6763b06f9ee4f"}}}}