{"action":"created","comment":{"url":"https://api.github.com/repos/Polymer/designer/pulls/comments/31948112","id":31948112,"diff_hunk":"@@ -0,0 +1,95 @@\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+<html>\n+  <head>\n+    <link rel=\"import\" href=\"../../../polymer/polymer.html\">\n+  </head>\n+  <body>\n+\n+    <dom-module id=\"designer-element-highlight\">\n+      <style>\n+        :host {\n+          display: block;\n+          position: absolute;\n+          box-sizing: border-box;\n+        }\n+        :host.before {\n+          border-top: solid 4px black;\n+        }\n+        :host.after {\n+          border-bottom: solid 4px black;\n+        }\n+        #bounds {\n+          position: absolute;\n+          top: 0;\n+          left: 0;\n+          right: 0;\n+          bottom: 0;\n+          background: rgba(255, 128, 128, .5);\n+          border: solid 1px #f88;\n+          box-sizing: border-box;\n+        }\n+      </style>\n+      <template>\n+        <div id=\"bounds\"></div>\n+      </template>\n+    </dom-module>\n+\n+    <script type=\"text/javascript\">\n+    define([\n+        'polymer-designer/commands',\n+        'polymer-designer/dom-utils'],\n+      function(commands, domUtils) {\n+        'use strict';\n+\n+        Polymer({\n+          is: 'designer-element-highlight',\n+\n+          properties: {\n+            bounds: Object,\n+          },\n+\n+          show() {\n+            this.style.display = 'block';\n+          },\n+\n+          hide() {\n+            this.style.display = 'none';\n+          },","path":"elements/designer-element-highlight/designer-element-highlight.html","position":66,"original_position":66,"commit_id":"fa91f254cc3a02ec1471b20e760824618d1feafe","original_commit_id":"fa91f254cc3a02ec1471b20e760824618d1feafe","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":"Why is it that we have `show` and `hide` in `domUtils`, but this element implements its own methods for the same purpose?","created_at":"2015-06-08T19:07:36Z","updated_at":"2015-06-08T19:07:36Z","html_url":"https://github.com/Polymer/designer/pull/154#discussion_r31948112","pull_request_url":"https://api.github.com/repos/Polymer/designer/pulls/154","_links":{"self":{"href":"https://api.github.com/repos/Polymer/designer/pulls/comments/31948112"},"html":{"href":"https://github.com/Polymer/designer/pull/154#discussion_r31948112"},"pull_request":{"href":"https://api.github.com/repos/Polymer/designer/pulls/154"}}},"pull_request":{"url":"https://api.github.com/repos/Polymer/designer/pulls/154","id":37071418,"html_url":"https://github.com/Polymer/designer/pull/154","diff_url":"https://github.com/Polymer/designer/pull/154.diff","patch_url":"https://github.com/Polymer/designer/pull/154.patch","issue_url":"https://api.github.com/repos/Polymer/designer/issues/154","number":154,"state":"open","locked":false,"title":"Add <designer-element-highlight> to handle rendering hover highlighting","user":{"login":"justinfagnani","id":522948,"avatar_url":"https://avatars.githubusercontent.com/u/522948?v=3","gravatar_id":"","url":"https://api.github.com/users/justinfagnani","html_url":"https://github.com/justinfagnani","followers_url":"https://api.github.com/users/justinfagnani/followers","following_url":"https://api.github.com/users/justinfagnani/following{/other_user}","gists_url":"https://api.github.com/users/justinfagnani/gists{/gist_id}","starred_url":"https://api.github.com/users/justinfagnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinfagnani/subscriptions","organizations_url":"https://api.github.com/users/justinfagnani/orgs","repos_url":"https://api.github.com/users/justinfagnani/repos","events_url":"https://api.github.com/users/justinfagnani/events{/privacy}","received_events_url":"https://api.github.com/users/justinfagnani/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-05T21:23:02Z","updated_at":"2015-06-08T19:07:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9ef6a31ac210c0f3a41dad926fa899f38310ced","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/Polymer/designer/pulls/154/commits","review_comments_url":"https://api.github.com/repos/Polymer/designer/pulls/154/comments","review_comment_url":"https://api.github.com/repos/Polymer/designer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Polymer/designer/issues/154/comments","statuses_url":"https://api.github.com/repos/Polymer/designer/statuses/fa91f254cc3a02ec1471b20e760824618d1feafe","head":{"label":"Polymer:dragging","ref":"dragging","sha":"fa91f254cc3a02ec1471b20e760824618d1feafe","user":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars.githubusercontent.com/u/2159051?v=3","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"repo":{"id":14120695,"name":"designer","full_name":"Polymer/designer","owner":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars.githubusercontent.com/u/2159051?v=3","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Polymer/designer","description":"Polymer Designer Tool","fork":false,"url":"https://api.github.com/repos/Polymer/designer","forks_url":"https://api.github.com/repos/Polymer/designer/forks","keys_url":"https://api.github.com/repos/Polymer/designer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Polymer/designer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Polymer/designer/teams","hooks_url":"https://api.github.com/repos/Polymer/designer/hooks","issue_events_url":"https://api.github.com/repos/Polymer/designer/issues/events{/number}","events_url":"https://api.github.com/repos/Polymer/designer/events","assignees_url":"https://api.github.com/repos/Polymer/designer/assignees{/user}","branches_url":"https://api.github.com/repos/Polymer/designer/branches{/branch}","tags_url":"https://api.github.com/repos/Polymer/designer/tags","blobs_url":"https://api.github.com/repos/Polymer/designer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Polymer/designer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Polymer/designer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Polymer/designer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Polymer/designer/statuses/{sha}","languages_url":"https://api.github.com/repos/Polymer/designer/languages","stargazers_url":"https://api.github.com/repos/Polymer/designer/stargazers","contributors_url":"https://api.github.com/repos/Polymer/designer/contributors","subscribers_url":"https://api.github.com/repos/Polymer/designer/subscribers","subscription_url":"https://api.github.com/repos/Polymer/designer/subscription","commits_url":"https://api.github.com/repos/Polymer/designer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Polymer/designer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Polymer/designer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Polymer/designer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Polymer/designer/contents/{+path}","compare_url":"https://api.github.com/repos/Polymer/designer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Polymer/designer/merges","archive_url":"https://api.github.com/repos/Polymer/designer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Polymer/designer/downloads","issues_url":"https://api.github.com/repos/Polymer/designer/issues{/number}","pulls_url":"https://api.github.com/repos/Polymer/designer/pulls{/number}","milestones_url":"https://api.github.com/repos/Polymer/designer/milestones{/number}","notifications_url":"https://api.github.com/repos/Polymer/designer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Polymer/designer/labels{/name}","releases_url":"https://api.github.com/repos/Polymer/designer/releases{/id}","created_at":"2013-11-04T19:08:31Z","updated_at":"2015-06-07T14:37:32Z","pushed_at":"2015-06-05T23:38:51Z","git_url":"git://github.com/Polymer/designer.git","ssh_url":"git@github.com:Polymer/designer.git","clone_url":"https://github.com/Polymer/designer.git","svn_url":"https://github.com/Polymer/designer","homepage":"https://www.polymer-project.org/tools/designer/","size":2500,"stargazers_count":508,"watchers_count":508,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":221,"mirror_url":null,"open_issues_count":13,"forks":221,"open_issues":13,"watchers":508,"default_branch":"master"}},"base":{"label":"Polymer:master","ref":"master","sha":"8c3b21cb86c6af6c1278c437fb4cd9867ea826a7","user":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars.githubusercontent.com/u/2159051?v=3","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"repo":{"id":14120695,"name":"designer","full_name":"Polymer/designer","owner":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars.githubusercontent.com/u/2159051?v=3","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Polymer/designer","description":"Polymer Designer Tool","fork":false,"url":"https://api.github.com/repos/Polymer/designer","forks_url":"https://api.github.com/repos/Polymer/designer/forks","keys_url":"https://api.github.com/repos/Polymer/designer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Polymer/designer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Polymer/designer/teams","hooks_url":"https://api.github.com/repos/Polymer/designer/hooks","issue_events_url":"https://api.github.com/repos/Polymer/designer/issues/events{/number}","events_url":"https://api.github.com/repos/Polymer/designer/events","assignees_url":"https://api.github.com/repos/Polymer/designer/assignees{/user}","branches_url":"https://api.github.com/repos/Polymer/designer/branches{/branch}","tags_url":"https://api.github.com/repos/Polymer/designer/tags","blobs_url":"https://api.github.com/repos/Polymer/designer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Polymer/designer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Polymer/designer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Polymer/designer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Polymer/designer/statuses/{sha}","languages_url":"https://api.github.com/repos/Polymer/designer/languages","stargazers_url":"https://api.github.com/repos/Polymer/designer/stargazers","contributors_url":"https://api.github.com/repos/Polymer/designer/contributors","subscribers_url":"https://api.github.com/repos/Polymer/designer/subscribers","subscription_url":"https://api.github.com/repos/Polymer/designer/subscription","commits_url":"https://api.github.com/repos/Polymer/designer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Polymer/designer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Polymer/designer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Polymer/designer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Polymer/designer/contents/{+path}","compare_url":"https://api.github.com/repos/Polymer/designer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Polymer/designer/merges","archive_url":"https://api.github.com/repos/Polymer/designer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Polymer/designer/downloads","issues_url":"https://api.github.com/repos/Polymer/designer/issues{/number}","pulls_url":"https://api.github.com/repos/Polymer/designer/pulls{/number}","milestones_url":"https://api.github.com/repos/Polymer/designer/milestones{/number}","notifications_url":"https://api.github.com/repos/Polymer/designer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Polymer/designer/labels{/name}","releases_url":"https://api.github.com/repos/Polymer/designer/releases{/id}","created_at":"2013-11-04T19:08:31Z","updated_at":"2015-06-07T14:37:32Z","pushed_at":"2015-06-05T23:38:51Z","git_url":"git://github.com/Polymer/designer.git","ssh_url":"git@github.com:Polymer/designer.git","clone_url":"https://github.com/Polymer/designer.git","svn_url":"https://github.com/Polymer/designer","homepage":"https://www.polymer-project.org/tools/designer/","size":2500,"stargazers_count":508,"watchers_count":508,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":221,"mirror_url":null,"open_issues_count":13,"forks":221,"open_issues":13,"watchers":508,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Polymer/designer/pulls/154"},"html":{"href":"https://github.com/Polymer/designer/pull/154"},"issue":{"href":"https://api.github.com/repos/Polymer/designer/issues/154"},"comments":{"href":"https://api.github.com/repos/Polymer/designer/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/Polymer/designer/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/Polymer/designer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Polymer/designer/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/Polymer/designer/statuses/fa91f254cc3a02ec1471b20e760824618d1feafe"}}}}