{"action":"created","comment":{"url":"https://api.github.com/repos/pie-framework/pie-ui/pulls/comments/175101983","pull_request_review_id":104579420,"id":175101983,"diff_hunk":"@@ -0,0 +1,35 @@\n+import React from 'react';\n+import ReactDOM from 'react-dom';\n+import Main from './main';\n+\n+export default class Calculator extends HTMLElement {\n+\n+  constructor() {\n+    super();\n+    this._model = null;\n+    this._session = null;\n+    this._rerender = () => {\n+      if (this._model) {\n+        let elem = React.createElement(Main, {\n+          model: this._model\n+        });\n+        ReactDOM.render(elem, this);\n+      }\n+    };\n+  }\n+\n+\n+  set model(m) {\n+    this._model = m;\n+    this._rerender();\n+  }\n+\n+  _message() {","path":"packages/calculator/src/index.js","position":27,"original_position":27,"commit_id":"22c6d706b6f88796ebe29903e4c90a31667c75d0","original_commit_id":"22c6d706b6f88796ebe29903e4c90a31667c75d0","user":{"login":"edeustace","id":101623,"avatar_url":"https://avatars2.githubusercontent.com/u/101623?v=4","gravatar_id":"","url":"https://api.github.com/users/edeustace","html_url":"https://github.com/edeustace","followers_url":"https://api.github.com/users/edeustace/followers","following_url":"https://api.github.com/users/edeustace/following{/other_user}","gists_url":"https://api.github.com/users/edeustace/gists{/gist_id}","starred_url":"https://api.github.com/users/edeustace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edeustace/subscriptions","organizations_url":"https://api.github.com/users/edeustace/orgs","repos_url":"https://api.github.com/users/edeustace/repos","events_url":"https://api.github.com/users/edeustace/events{/privacy}","received_events_url":"https://api.github.com/users/edeustace/received_events","type":"User","site_admin":false},"body":"rm","created_at":"2018-03-16T14:13:52Z","updated_at":"2018-03-16T14:18:58Z","html_url":"https://github.com/pie-framework/pie-ui/pull/1#discussion_r175101983","pull_request_url":"https://api.github.com/repos/pie-framework/pie-ui/pulls/1","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/pie-framework/pie-ui/pulls/comments/175101983"},"html":{"href":"https://github.com/pie-framework/pie-ui/pull/1#discussion_r175101983"},"pull_request":{"href":"https://api.github.com/repos/pie-framework/pie-ui/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/pie-framework/pie-ui/pulls/1","id":175294627,"html_url":"https://github.com/pie-framework/pie-ui/pull/1","diff_url":"https://github.com/pie-framework/pie-ui/pull/1.diff","patch_url":"https://github.com/pie-framework/pie-ui/pull/1.patch","issue_url":"https://api.github.com/repos/pie-framework/pie-ui/issues/1","number":1,"state":"open","locked":false,"title":"Feature/calculator","user":{"login":"edeustace","id":101623,"avatar_url":"https://avatars2.githubusercontent.com/u/101623?v=4","gravatar_id":"","url":"https://api.github.com/users/edeustace","html_url":"https://github.com/edeustace","followers_url":"https://api.github.com/users/edeustace/followers","following_url":"https://api.github.com/users/edeustace/following{/other_user}","gists_url":"https://api.github.com/users/edeustace/gists{/gist_id}","starred_url":"https://api.github.com/users/edeustace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edeustace/subscriptions","organizations_url":"https://api.github.com/users/edeustace/orgs","repos_url":"https://api.github.com/users/edeustace/repos","events_url":"https://api.github.com/users/edeustace/events{/privacy}","received_events_url":"https://api.github.com/users/edeustace/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-15T15:48:34Z","updated_at":"2018-03-16T14:18:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"325ec72d5b2903efc8b19ca48a30368b123098e0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pie-framework/pie-ui/pulls/1/commits","review_comments_url":"https://api.github.com/repos/pie-framework/pie-ui/pulls/1/comments","review_comment_url":"https://api.github.com/repos/pie-framework/pie-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pie-framework/pie-ui/issues/1/comments","statuses_url":"https://api.github.com/repos/pie-framework/pie-ui/statuses/22c6d706b6f88796ebe29903e4c90a31667c75d0","head":{"label":"pie-framework:feature/calculator","ref":"feature/calculator","sha":"22c6d706b6f88796ebe29903e4c90a31667c75d0","user":{"login":"pie-framework","id":37118203,"avatar_url":"https://avatars2.githubusercontent.com/u/37118203?v=4","gravatar_id":"","url":"https://api.github.com/users/pie-framework","html_url":"https://github.com/pie-framework","followers_url":"https://api.github.com/users/pie-framework/followers","following_url":"https://api.github.com/users/pie-framework/following{/other_user}","gists_url":"https://api.github.com/users/pie-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pie-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pie-framework/subscriptions","organizations_url":"https://api.github.com/users/pie-framework/orgs","repos_url":"https://api.github.com/users/pie-framework/repos","events_url":"https://api.github.com/users/pie-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pie-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":124115286,"name":"pie-ui","full_name":"pie-framework/pie-ui","owner":{"login":"pie-framework","id":37118203,"avatar_url":"https://avatars2.githubusercontent.com/u/37118203?v=4","gravatar_id":"","url":"https://api.github.com/users/pie-framework","html_url":"https://github.com/pie-framework","followers_url":"https://api.github.com/users/pie-framework/followers","following_url":"https://api.github.com/users/pie-framework/following{/other_user}","gists_url":"https://api.github.com/users/pie-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pie-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pie-framework/subscriptions","organizations_url":"https://api.github.com/users/pie-framework/orgs","repos_url":"https://api.github.com/users/pie-framework/repos","events_url":"https://api.github.com/users/pie-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pie-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pie-framework/pie-ui","description":"A collection of custom elements used to render interactions.","fork":false,"url":"https://api.github.com/repos/pie-framework/pie-ui","forks_url":"https://api.github.com/repos/pie-framework/pie-ui/forks","keys_url":"https://api.github.com/repos/pie-framework/pie-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pie-framework/pie-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pie-framework/pie-ui/teams","hooks_url":"https://api.github.com/repos/pie-framework/pie-ui/hooks","issue_events_url":"https://api.github.com/repos/pie-framework/pie-ui/issues/events{/number}","events_url":"https://api.github.com/repos/pie-framework/pie-ui/events","assignees_url":"https://api.github.com/repos/pie-framework/pie-ui/assignees{/user}","branches_url":"https://api.github.com/repos/pie-framework/pie-ui/branches{/branch}","tags_url":"https://api.github.com/repos/pie-framework/pie-ui/tags","blobs_url":"https://api.github.com/repos/pie-framework/pie-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pie-framework/pie-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pie-framework/pie-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/pie-framework/pie-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pie-framework/pie-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/pie-framework/pie-ui/languages","stargazers_url":"https://api.github.com/repos/pie-framework/pie-ui/stargazers","contributors_url":"https://api.github.com/repos/pie-framework/pie-ui/contributors","subscribers_url":"https://api.github.com/repos/pie-framework/pie-ui/subscribers","subscription_url":"https://api.github.com/repos/pie-framework/pie-ui/subscription","commits_url":"https://api.github.com/repos/pie-framework/pie-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/pie-framework/pie-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/pie-framework/pie-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/pie-framework/pie-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/pie-framework/pie-ui/contents/{+path}","compare_url":"https://api.github.com/repos/pie-framework/pie-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pie-framework/pie-ui/merges","archive_url":"https://api.github.com/repos/pie-framework/pie-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pie-framework/pie-ui/downloads","issues_url":"https://api.github.com/repos/pie-framework/pie-ui/issues{/number}","pulls_url":"https://api.github.com/repos/pie-framework/pie-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/pie-framework/pie-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/pie-framework/pie-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pie-framework/pie-ui/labels{/name}","releases_url":"https://api.github.com/repos/pie-framework/pie-ui/releases{/id}","deployments_url":"https://api.github.com/repos/pie-framework/pie-ui/deployments","created_at":"2018-03-06T17:40:17Z","updated_at":"2018-03-16T00:32:39Z","pushed_at":"2018-03-16T14:08:09Z","git_url":"git://github.com/pie-framework/pie-ui.git","ssh_url":"git@github.com:pie-framework/pie-ui.git","clone_url":"https://github.com/pie-framework/pie-ui.git","svn_url":"https://github.com/pie-framework/pie-ui","homepage":null,"size":483,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"pie-framework:master","ref":"master","sha":"bd039f37bbd4bc57a93bc106b286993eaecfeefb","user":{"login":"pie-framework","id":37118203,"avatar_url":"https://avatars2.githubusercontent.com/u/37118203?v=4","gravatar_id":"","url":"https://api.github.com/users/pie-framework","html_url":"https://github.com/pie-framework","followers_url":"https://api.github.com/users/pie-framework/followers","following_url":"https://api.github.com/users/pie-framework/following{/other_user}","gists_url":"https://api.github.com/users/pie-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pie-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pie-framework/subscriptions","organizations_url":"https://api.github.com/users/pie-framework/orgs","repos_url":"https://api.github.com/users/pie-framework/repos","events_url":"https://api.github.com/users/pie-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pie-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":124115286,"name":"pie-ui","full_name":"pie-framework/pie-ui","owner":{"login":"pie-framework","id":37118203,"avatar_url":"https://avatars2.githubusercontent.com/u/37118203?v=4","gravatar_id":"","url":"https://api.github.com/users/pie-framework","html_url":"https://github.com/pie-framework","followers_url":"https://api.github.com/users/pie-framework/followers","following_url":"https://api.github.com/users/pie-framework/following{/other_user}","gists_url":"https://api.github.com/users/pie-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pie-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pie-framework/subscriptions","organizations_url":"https://api.github.com/users/pie-framework/orgs","repos_url":"https://api.github.com/users/pie-framework/repos","events_url":"https://api.github.com/users/pie-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pie-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pie-framework/pie-ui","description":"A collection of custom elements used to render interactions.","fork":false,"url":"https://api.github.com/repos/pie-framework/pie-ui","forks_url":"https://api.github.com/repos/pie-framework/pie-ui/forks","keys_url":"https://api.github.com/repos/pie-framework/pie-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pie-framework/pie-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pie-framework/pie-ui/teams","hooks_url":"https://api.github.com/repos/pie-framework/pie-ui/hooks","issue_events_url":"https://api.github.com/repos/pie-framework/pie-ui/issues/events{/number}","events_url":"https://api.github.com/repos/pie-framework/pie-ui/events","assignees_url":"https://api.github.com/repos/pie-framework/pie-ui/assignees{/user}","branches_url":"https://api.github.com/repos/pie-framework/pie-ui/branches{/branch}","tags_url":"https://api.github.com/repos/pie-framework/pie-ui/tags","blobs_url":"https://api.github.com/repos/pie-framework/pie-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pie-framework/pie-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pie-framework/pie-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/pie-framework/pie-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pie-framework/pie-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/pie-framework/pie-ui/languages","stargazers_url":"https://api.github.com/repos/pie-framework/pie-ui/stargazers","contributors_url":"https://api.github.com/repos/pie-framework/pie-ui/contributors","subscribers_url":"https://api.github.com/repos/pie-framework/pie-ui/subscribers","subscription_url":"https://api.github.com/repos/pie-framework/pie-ui/subscription","commits_url":"https://api.github.com/repos/pie-framework/pie-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/pie-framework/pie-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/pie-framework/pie-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/pie-framework/pie-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/pie-framework/pie-ui/contents/{+path}","compare_url":"https://api.github.com/repos/pie-framework/pie-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pie-framework/pie-ui/merges","archive_url":"https://api.github.com/repos/pie-framework/pie-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pie-framework/pie-ui/downloads","issues_url":"https://api.github.com/repos/pie-framework/pie-ui/issues{/number}","pulls_url":"https://api.github.com/repos/pie-framework/pie-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/pie-framework/pie-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/pie-framework/pie-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pie-framework/pie-ui/labels{/name}","releases_url":"https://api.github.com/repos/pie-framework/pie-ui/releases{/id}","deployments_url":"https://api.github.com/repos/pie-framework/pie-ui/deployments","created_at":"2018-03-06T17:40:17Z","updated_at":"2018-03-16T00:32:39Z","pushed_at":"2018-03-16T14:08:09Z","git_url":"git://github.com/pie-framework/pie-ui.git","ssh_url":"git@github.com:pie-framework/pie-ui.git","clone_url":"https://github.com/pie-framework/pie-ui.git","svn_url":"https://github.com/pie-framework/pie-ui","homepage":null,"size":483,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/pie-framework/pie-ui/pulls/1"},"html":{"href":"https://github.com/pie-framework/pie-ui/pull/1"},"issue":{"href":"https://api.github.com/repos/pie-framework/pie-ui/issues/1"},"comments":{"href":"https://api.github.com/repos/pie-framework/pie-ui/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/pie-framework/pie-ui/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/pie-framework/pie-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pie-framework/pie-ui/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/pie-framework/pie-ui/statuses/22c6d706b6f88796ebe29903e4c90a31667c75d0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"edeustace"}}