{"action":"opened","number":60,"pull_request":{"url":"https://api.github.com/repos/tbranyen/diffhtml/pulls/60","id":63460825,"html_url":"https://github.com/tbranyen/diffhtml/pull/60","diff_url":"https://github.com/tbranyen/diffhtml/pull/60.diff","patch_url":"https://github.com/tbranyen/diffhtml/pull/60.patch","issue_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/60","number":60,"state":"open","locked":false,"title":"Tagged templating is all the rage, so why not","user":{"login":"tbranyen","id":181635,"avatar_url":"https://avatars.githubusercontent.com/u/181635?v=3","gravatar_id":"","url":"https://api.github.com/users/tbranyen","html_url":"https://github.com/tbranyen","followers_url":"https://api.github.com/users/tbranyen/followers","following_url":"https://api.github.com/users/tbranyen/following{/other_user}","gists_url":"https://api.github.com/users/tbranyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tbranyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbranyen/subscriptions","organizations_url":"https://api.github.com/users/tbranyen/orgs","repos_url":"https://api.github.com/users/tbranyen/repos","events_url":"https://api.github.com/users/tbranyen/events{/privacy}","received_events_url":"https://api.github.com/users/tbranyen/received_events","type":"User","site_admin":false},"body":"This adds in support for building a VTree and passing it into diffHTML.\r\nIt's allowed in any existing method like outerHTML and innerHTML. You\r\ncan use it like so:\r\n\r\n    import { outerHTML, html } from 'diffhtml';\r\n\r\n    function render(date) {\r\n      outerHTML(document.body, html`<body>\r\n        <h1>Some new content diff/patched in!</h1>\r\n\r\n        <p>\r\n          <span>Current date: ${date}</span>\r\n        </p>\r\n      </body>`);\r\n    }\r\n\r\n    setInterval(function() {\r\n      render(new Date().toLocaleString());\r\n    }, 1000);\r\n\r\n    render(new Date().toLocaleString());\r\n\r\nI'll start working on a Babel transform as well to make the entire parse\r\ntime disappear. Performance-ahoy. Thx JSX, yo-yo, bel for inspiration\r\nchoo-choo.","created_at":"2016-03-19T06:34:31Z","updated_at":"2016-03-19T06:34:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tbranyen/diffhtml/pulls/60/commits","review_comments_url":"https://api.github.com/repos/tbranyen/diffhtml/pulls/60/comments","review_comment_url":"https://api.github.com/repos/tbranyen/diffhtml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/60/comments","statuses_url":"https://api.github.com/repos/tbranyen/diffhtml/statuses/aea03df9fb5ebd5404d5833891ab5e26a8f953db","head":{"label":"tbranyen:add-tagged-template-function","ref":"add-tagged-template-function","sha":"aea03df9fb5ebd5404d5833891ab5e26a8f953db","user":{"login":"tbranyen","id":181635,"avatar_url":"https://avatars.githubusercontent.com/u/181635?v=3","gravatar_id":"","url":"https://api.github.com/users/tbranyen","html_url":"https://github.com/tbranyen","followers_url":"https://api.github.com/users/tbranyen/followers","following_url":"https://api.github.com/users/tbranyen/following{/other_user}","gists_url":"https://api.github.com/users/tbranyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tbranyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbranyen/subscriptions","organizations_url":"https://api.github.com/users/tbranyen/orgs","repos_url":"https://api.github.com/users/tbranyen/repos","events_url":"https://api.github.com/users/tbranyen/events{/privacy}","received_events_url":"https://api.github.com/users/tbranyen/received_events","type":"User","site_admin":false},"repo":{"id":34007876,"name":"diffhtml","full_name":"tbranyen/diffhtml","owner":{"login":"tbranyen","id":181635,"avatar_url":"https://avatars.githubusercontent.com/u/181635?v=3","gravatar_id":"","url":"https://api.github.com/users/tbranyen","html_url":"https://github.com/tbranyen","followers_url":"https://api.github.com/users/tbranyen/followers","following_url":"https://api.github.com/users/tbranyen/following{/other_user}","gists_url":"https://api.github.com/users/tbranyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tbranyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbranyen/subscriptions","organizations_url":"https://api.github.com/users/tbranyen/orgs","repos_url":"https://api.github.com/users/tbranyen/repos","events_url":"https://api.github.com/users/tbranyen/events{/privacy}","received_events_url":"https://api.github.com/users/tbranyen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tbranyen/diffhtml","description":"Easily swap out markup with an intelligent virtual dom.","fork":false,"url":"https://api.github.com/repos/tbranyen/diffhtml","forks_url":"https://api.github.com/repos/tbranyen/diffhtml/forks","keys_url":"https://api.github.com/repos/tbranyen/diffhtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tbranyen/diffhtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tbranyen/diffhtml/teams","hooks_url":"https://api.github.com/repos/tbranyen/diffhtml/hooks","issue_events_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/events{/number}","events_url":"https://api.github.com/repos/tbranyen/diffhtml/events","assignees_url":"https://api.github.com/repos/tbranyen/diffhtml/assignees{/user}","branches_url":"https://api.github.com/repos/tbranyen/diffhtml/branches{/branch}","tags_url":"https://api.github.com/repos/tbranyen/diffhtml/tags","blobs_url":"https://api.github.com/repos/tbranyen/diffhtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tbranyen/diffhtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tbranyen/diffhtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/tbranyen/diffhtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tbranyen/diffhtml/statuses/{sha}","languages_url":"https://api.github.com/repos/tbranyen/diffhtml/languages","stargazers_url":"https://api.github.com/repos/tbranyen/diffhtml/stargazers","contributors_url":"https://api.github.com/repos/tbranyen/diffhtml/contributors","subscribers_url":"https://api.github.com/repos/tbranyen/diffhtml/subscribers","subscription_url":"https://api.github.com/repos/tbranyen/diffhtml/subscription","commits_url":"https://api.github.com/repos/tbranyen/diffhtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/tbranyen/diffhtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/tbranyen/diffhtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/tbranyen/diffhtml/contents/{+path}","compare_url":"https://api.github.com/repos/tbranyen/diffhtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tbranyen/diffhtml/merges","archive_url":"https://api.github.com/repos/tbranyen/diffhtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tbranyen/diffhtml/downloads","issues_url":"https://api.github.com/repos/tbranyen/diffhtml/issues{/number}","pulls_url":"https://api.github.com/repos/tbranyen/diffhtml/pulls{/number}","milestones_url":"https://api.github.com/repos/tbranyen/diffhtml/milestones{/number}","notifications_url":"https://api.github.com/repos/tbranyen/diffhtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tbranyen/diffhtml/labels{/name}","releases_url":"https://api.github.com/repos/tbranyen/diffhtml/releases{/id}","deployments_url":"https://api.github.com/repos/tbranyen/diffhtml/deployments","created_at":"2015-04-15T17:17:05Z","updated_at":"2016-03-18T19:16:53Z","pushed_at":"2016-03-19T06:33:46Z","git_url":"git://github.com/tbranyen/diffhtml.git","ssh_url":"git@github.com:tbranyen/diffhtml.git","clone_url":"https://github.com/tbranyen/diffhtml.git","svn_url":"https://github.com/tbranyen/diffhtml","homepage":"http://www.diffhtml.org/","size":2664,"stargazers_count":326,"watchers_count":326,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":10,"forks":16,"open_issues":10,"watchers":326,"default_branch":"master"}},"base":{"label":"tbranyen:master","ref":"master","sha":"4691560940b659a8291d8a7c4c969085ce4be0bb","user":{"login":"tbranyen","id":181635,"avatar_url":"https://avatars.githubusercontent.com/u/181635?v=3","gravatar_id":"","url":"https://api.github.com/users/tbranyen","html_url":"https://github.com/tbranyen","followers_url":"https://api.github.com/users/tbranyen/followers","following_url":"https://api.github.com/users/tbranyen/following{/other_user}","gists_url":"https://api.github.com/users/tbranyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tbranyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbranyen/subscriptions","organizations_url":"https://api.github.com/users/tbranyen/orgs","repos_url":"https://api.github.com/users/tbranyen/repos","events_url":"https://api.github.com/users/tbranyen/events{/privacy}","received_events_url":"https://api.github.com/users/tbranyen/received_events","type":"User","site_admin":false},"repo":{"id":34007876,"name":"diffhtml","full_name":"tbranyen/diffhtml","owner":{"login":"tbranyen","id":181635,"avatar_url":"https://avatars.githubusercontent.com/u/181635?v=3","gravatar_id":"","url":"https://api.github.com/users/tbranyen","html_url":"https://github.com/tbranyen","followers_url":"https://api.github.com/users/tbranyen/followers","following_url":"https://api.github.com/users/tbranyen/following{/other_user}","gists_url":"https://api.github.com/users/tbranyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tbranyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbranyen/subscriptions","organizations_url":"https://api.github.com/users/tbranyen/orgs","repos_url":"https://api.github.com/users/tbranyen/repos","events_url":"https://api.github.com/users/tbranyen/events{/privacy}","received_events_url":"https://api.github.com/users/tbranyen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tbranyen/diffhtml","description":"Easily swap out markup with an intelligent virtual dom.","fork":false,"url":"https://api.github.com/repos/tbranyen/diffhtml","forks_url":"https://api.github.com/repos/tbranyen/diffhtml/forks","keys_url":"https://api.github.com/repos/tbranyen/diffhtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tbranyen/diffhtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tbranyen/diffhtml/teams","hooks_url":"https://api.github.com/repos/tbranyen/diffhtml/hooks","issue_events_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/events{/number}","events_url":"https://api.github.com/repos/tbranyen/diffhtml/events","assignees_url":"https://api.github.com/repos/tbranyen/diffhtml/assignees{/user}","branches_url":"https://api.github.com/repos/tbranyen/diffhtml/branches{/branch}","tags_url":"https://api.github.com/repos/tbranyen/diffhtml/tags","blobs_url":"https://api.github.com/repos/tbranyen/diffhtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tbranyen/diffhtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tbranyen/diffhtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/tbranyen/diffhtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tbranyen/diffhtml/statuses/{sha}","languages_url":"https://api.github.com/repos/tbranyen/diffhtml/languages","stargazers_url":"https://api.github.com/repos/tbranyen/diffhtml/stargazers","contributors_url":"https://api.github.com/repos/tbranyen/diffhtml/contributors","subscribers_url":"https://api.github.com/repos/tbranyen/diffhtml/subscribers","subscription_url":"https://api.github.com/repos/tbranyen/diffhtml/subscription","commits_url":"https://api.github.com/repos/tbranyen/diffhtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/tbranyen/diffhtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/tbranyen/diffhtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/tbranyen/diffhtml/contents/{+path}","compare_url":"https://api.github.com/repos/tbranyen/diffhtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tbranyen/diffhtml/merges","archive_url":"https://api.github.com/repos/tbranyen/diffhtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tbranyen/diffhtml/downloads","issues_url":"https://api.github.com/repos/tbranyen/diffhtml/issues{/number}","pulls_url":"https://api.github.com/repos/tbranyen/diffhtml/pulls{/number}","milestones_url":"https://api.github.com/repos/tbranyen/diffhtml/milestones{/number}","notifications_url":"https://api.github.com/repos/tbranyen/diffhtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tbranyen/diffhtml/labels{/name}","releases_url":"https://api.github.com/repos/tbranyen/diffhtml/releases{/id}","deployments_url":"https://api.github.com/repos/tbranyen/diffhtml/deployments","created_at":"2015-04-15T17:17:05Z","updated_at":"2016-03-18T19:16:53Z","pushed_at":"2016-03-19T06:33:46Z","git_url":"git://github.com/tbranyen/diffhtml.git","ssh_url":"git@github.com:tbranyen/diffhtml.git","clone_url":"https://github.com/tbranyen/diffhtml.git","svn_url":"https://github.com/tbranyen/diffhtml","homepage":"http://www.diffhtml.org/","size":2664,"stargazers_count":326,"watchers_count":326,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":10,"forks":16,"open_issues":10,"watchers":326,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tbranyen/diffhtml/pulls/60"},"html":{"href":"https://github.com/tbranyen/diffhtml/pull/60"},"issue":{"href":"https://api.github.com/repos/tbranyen/diffhtml/issues/60"},"comments":{"href":"https://api.github.com/repos/tbranyen/diffhtml/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/tbranyen/diffhtml/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/tbranyen/diffhtml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tbranyen/diffhtml/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/tbranyen/diffhtml/statuses/aea03df9fb5ebd5404d5833891ab5e26a8f953db"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":166,"deletions":4,"changed_files":5}}