{"action":"created","comment":{"url":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/comments/49934890","id":49934890,"diff_hunk":"@@ -0,0 +1,11 @@\n+var jsx = require('babel-plugin-transform-jsx');\n+var h = require(\"./src/virtual-hyperscript\");\n+\n+/**\n+ * Constructor function for https://www.npmjs.com/package/babel-plugin-transform-jsx\n+ * Docs are in ./src/cycle-dom\n+ */\n+module.exports = function (attrs) {\n+   var convertedJSX = jsx(attrs);","path":"jsx.js","position":9,"original_position":9,"commit_id":"12ea6290e7db6fb51cc9ac7a11204d2bf3e99eb6","original_commit_id":"12ea6290e7db6fb51cc9ac7a11204d2bf3e99eb6","user":{"login":"Cmdv","id":3036557,"avatar_url":"https://avatars.githubusercontent.com/u/3036557?v=3","gravatar_id":"","url":"https://api.github.com/users/Cmdv","html_url":"https://github.com/Cmdv","followers_url":"https://api.github.com/users/Cmdv/followers","following_url":"https://api.github.com/users/Cmdv/following{/other_user}","gists_url":"https://api.github.com/users/Cmdv/gists{/gist_id}","starred_url":"https://api.github.com/users/Cmdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cmdv/subscriptions","organizations_url":"https://api.github.com/users/Cmdv/orgs","repos_url":"https://api.github.com/users/Cmdv/repos","events_url":"https://api.github.com/users/Cmdv/events{/privacy}","received_events_url":"https://api.github.com/users/Cmdv/received_events","type":"User","site_admin":false},"body":"I knew I had things confused!! thank you @calebmer I'll make the amends :+1: ","created_at":"2016-01-16T17:52:40Z","updated_at":"2016-01-16T17:52:40Z","html_url":"https://github.com/cyclejs/cycle-dom/pull/93#discussion_r49934890","pull_request_url":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/93","_links":{"self":{"href":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/comments/49934890"},"html":{"href":"https://github.com/cyclejs/cycle-dom/pull/93#discussion_r49934890"},"pull_request":{"href":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/93"}}},"pull_request":{"url":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/93","id":56258348,"html_url":"https://github.com/cyclejs/cycle-dom/pull/93","diff_url":"https://github.com/cyclejs/cycle-dom/pull/93.diff","patch_url":"https://github.com/cyclejs/cycle-dom/pull/93.patch","issue_url":"https://api.github.com/repos/cyclejs/cycle-dom/issues/93","number":93,"state":"open","locked":false,"title":"feat(jsx) Add support for non-react JSX transformer #92","user":{"login":"Cmdv","id":3036557,"avatar_url":"https://avatars.githubusercontent.com/u/3036557?v=3","gravatar_id":"","url":"https://api.github.com/users/Cmdv","html_url":"https://github.com/Cmdv","followers_url":"https://api.github.com/users/Cmdv/followers","following_url":"https://api.github.com/users/Cmdv/following{/other_user}","gists_url":"https://api.github.com/users/Cmdv/gists{/gist_id}","starred_url":"https://api.github.com/users/Cmdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cmdv/subscriptions","organizations_url":"https://api.github.com/users/Cmdv/orgs","repos_url":"https://api.github.com/users/Cmdv/repos","events_url":"https://api.github.com/users/Cmdv/events{/privacy}","received_events_url":"https://api.github.com/users/Cmdv/received_events","type":"User","site_admin":false},"body":"Unsure if this what you had in mind @staltz.\r\nCreated a constructor function but I've not written tests wanted to make sure this is the right way to go first.\r\n\r\n@calebmer If you could also take a look if you think I've done this right?","created_at":"2016-01-16T17:31:10Z","updated_at":"2016-01-16T17:52:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0be6bca7fd2c4868a832e338f0fa20233b90144d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/93/commits","review_comments_url":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/93/comments","review_comment_url":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cyclejs/cycle-dom/issues/93/comments","statuses_url":"https://api.github.com/repos/cyclejs/cycle-dom/statuses/12ea6290e7db6fb51cc9ac7a11204d2bf3e99eb6","head":{"label":"Cmdv:92-non-react-JSX-transformer","ref":"92-non-react-JSX-transformer","sha":"12ea6290e7db6fb51cc9ac7a11204d2bf3e99eb6","user":{"login":"Cmdv","id":3036557,"avatar_url":"https://avatars.githubusercontent.com/u/3036557?v=3","gravatar_id":"","url":"https://api.github.com/users/Cmdv","html_url":"https://github.com/Cmdv","followers_url":"https://api.github.com/users/Cmdv/followers","following_url":"https://api.github.com/users/Cmdv/following{/other_user}","gists_url":"https://api.github.com/users/Cmdv/gists{/gist_id}","starred_url":"https://api.github.com/users/Cmdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cmdv/subscriptions","organizations_url":"https://api.github.com/users/Cmdv/orgs","repos_url":"https://api.github.com/users/Cmdv/repos","events_url":"https://api.github.com/users/Cmdv/events{/privacy}","received_events_url":"https://api.github.com/users/Cmdv/received_events","type":"User","site_admin":false},"repo":{"id":45932942,"name":"cycle-dom","full_name":"Cmdv/cycle-dom","owner":{"login":"Cmdv","id":3036557,"avatar_url":"https://avatars.githubusercontent.com/u/3036557?v=3","gravatar_id":"","url":"https://api.github.com/users/Cmdv","html_url":"https://github.com/Cmdv","followers_url":"https://api.github.com/users/Cmdv/followers","following_url":"https://api.github.com/users/Cmdv/following{/other_user}","gists_url":"https://api.github.com/users/Cmdv/gists{/gist_id}","starred_url":"https://api.github.com/users/Cmdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cmdv/subscriptions","organizations_url":"https://api.github.com/users/Cmdv/orgs","repos_url":"https://api.github.com/users/Cmdv/repos","events_url":"https://api.github.com/users/Cmdv/events{/privacy}","received_events_url":"https://api.github.com/users/Cmdv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Cmdv/cycle-dom","description":"The standard DOM Driver for Cycle.js based on virtual-dom, and other helpers","fork":true,"url":"https://api.github.com/repos/Cmdv/cycle-dom","forks_url":"https://api.github.com/repos/Cmdv/cycle-dom/forks","keys_url":"https://api.github.com/repos/Cmdv/cycle-dom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cmdv/cycle-dom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cmdv/cycle-dom/teams","hooks_url":"https://api.github.com/repos/Cmdv/cycle-dom/hooks","issue_events_url":"https://api.github.com/repos/Cmdv/cycle-dom/issues/events{/number}","events_url":"https://api.github.com/repos/Cmdv/cycle-dom/events","assignees_url":"https://api.github.com/repos/Cmdv/cycle-dom/assignees{/user}","branches_url":"https://api.github.com/repos/Cmdv/cycle-dom/branches{/branch}","tags_url":"https://api.github.com/repos/Cmdv/cycle-dom/tags","blobs_url":"https://api.github.com/repos/Cmdv/cycle-dom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cmdv/cycle-dom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cmdv/cycle-dom/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cmdv/cycle-dom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cmdv/cycle-dom/statuses/{sha}","languages_url":"https://api.github.com/repos/Cmdv/cycle-dom/languages","stargazers_url":"https://api.github.com/repos/Cmdv/cycle-dom/stargazers","contributors_url":"https://api.github.com/repos/Cmdv/cycle-dom/contributors","subscribers_url":"https://api.github.com/repos/Cmdv/cycle-dom/subscribers","subscription_url":"https://api.github.com/repos/Cmdv/cycle-dom/subscription","commits_url":"https://api.github.com/repos/Cmdv/cycle-dom/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cmdv/cycle-dom/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cmdv/cycle-dom/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cmdv/cycle-dom/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cmdv/cycle-dom/contents/{+path}","compare_url":"https://api.github.com/repos/Cmdv/cycle-dom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cmdv/cycle-dom/merges","archive_url":"https://api.github.com/repos/Cmdv/cycle-dom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cmdv/cycle-dom/downloads","issues_url":"https://api.github.com/repos/Cmdv/cycle-dom/issues{/number}","pulls_url":"https://api.github.com/repos/Cmdv/cycle-dom/pulls{/number}","milestones_url":"https://api.github.com/repos/Cmdv/cycle-dom/milestones{/number}","notifications_url":"https://api.github.com/repos/Cmdv/cycle-dom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cmdv/cycle-dom/labels{/name}","releases_url":"https://api.github.com/repos/Cmdv/cycle-dom/releases{/id}","created_at":"2015-11-10T18:48:14Z","updated_at":"2016-01-15T22:05:53Z","pushed_at":"2016-01-16T17:28:04Z","git_url":"git://github.com/Cmdv/cycle-dom.git","ssh_url":"git@github.com:Cmdv/cycle-dom.git","clone_url":"https://github.com/Cmdv/cycle-dom.git","svn_url":"https://github.com/Cmdv/cycle-dom","homepage":null,"size":1203,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cyclejs:master","ref":"master","sha":"0b1e1816a8367a6c724f95a65e8056542b50ae4d","user":{"login":"cyclejs","id":12686838,"avatar_url":"https://avatars.githubusercontent.com/u/12686838?v=3","gravatar_id":"","url":"https://api.github.com/users/cyclejs","html_url":"https://github.com/cyclejs","followers_url":"https://api.github.com/users/cyclejs/followers","following_url":"https://api.github.com/users/cyclejs/following{/other_user}","gists_url":"https://api.github.com/users/cyclejs/gists{/gist_id}","starred_url":"https://api.github.com/users/cyclejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyclejs/subscriptions","organizations_url":"https://api.github.com/users/cyclejs/orgs","repos_url":"https://api.github.com/users/cyclejs/repos","events_url":"https://api.github.com/users/cyclejs/events{/privacy}","received_events_url":"https://api.github.com/users/cyclejs/received_events","type":"Organization","site_admin":false},"repo":{"id":37993459,"name":"cycle-dom","full_name":"cyclejs/cycle-dom","owner":{"login":"cyclejs","id":12686838,"avatar_url":"https://avatars.githubusercontent.com/u/12686838?v=3","gravatar_id":"","url":"https://api.github.com/users/cyclejs","html_url":"https://github.com/cyclejs","followers_url":"https://api.github.com/users/cyclejs/followers","following_url":"https://api.github.com/users/cyclejs/following{/other_user}","gists_url":"https://api.github.com/users/cyclejs/gists{/gist_id}","starred_url":"https://api.github.com/users/cyclejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyclejs/subscriptions","organizations_url":"https://api.github.com/users/cyclejs/orgs","repos_url":"https://api.github.com/users/cyclejs/repos","events_url":"https://api.github.com/users/cyclejs/events{/privacy}","received_events_url":"https://api.github.com/users/cyclejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cyclejs/cycle-dom","description":"The standard DOM Driver for Cycle.js based on virtual-dom, and other helpers","fork":false,"url":"https://api.github.com/repos/cyclejs/cycle-dom","forks_url":"https://api.github.com/repos/cyclejs/cycle-dom/forks","keys_url":"https://api.github.com/repos/cyclejs/cycle-dom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cyclejs/cycle-dom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cyclejs/cycle-dom/teams","hooks_url":"https://api.github.com/repos/cyclejs/cycle-dom/hooks","issue_events_url":"https://api.github.com/repos/cyclejs/cycle-dom/issues/events{/number}","events_url":"https://api.github.com/repos/cyclejs/cycle-dom/events","assignees_url":"https://api.github.com/repos/cyclejs/cycle-dom/assignees{/user}","branches_url":"https://api.github.com/repos/cyclejs/cycle-dom/branches{/branch}","tags_url":"https://api.github.com/repos/cyclejs/cycle-dom/tags","blobs_url":"https://api.github.com/repos/cyclejs/cycle-dom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cyclejs/cycle-dom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cyclejs/cycle-dom/git/refs{/sha}","trees_url":"https://api.github.com/repos/cyclejs/cycle-dom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cyclejs/cycle-dom/statuses/{sha}","languages_url":"https://api.github.com/repos/cyclejs/cycle-dom/languages","stargazers_url":"https://api.github.com/repos/cyclejs/cycle-dom/stargazers","contributors_url":"https://api.github.com/repos/cyclejs/cycle-dom/contributors","subscribers_url":"https://api.github.com/repos/cyclejs/cycle-dom/subscribers","subscription_url":"https://api.github.com/repos/cyclejs/cycle-dom/subscription","commits_url":"https://api.github.com/repos/cyclejs/cycle-dom/commits{/sha}","git_commits_url":"https://api.github.com/repos/cyclejs/cycle-dom/git/commits{/sha}","comments_url":"https://api.github.com/repos/cyclejs/cycle-dom/comments{/number}","issue_comment_url":"https://api.github.com/repos/cyclejs/cycle-dom/issues/comments{/number}","contents_url":"https://api.github.com/repos/cyclejs/cycle-dom/contents/{+path}","compare_url":"https://api.github.com/repos/cyclejs/cycle-dom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cyclejs/cycle-dom/merges","archive_url":"https://api.github.com/repos/cyclejs/cycle-dom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cyclejs/cycle-dom/downloads","issues_url":"https://api.github.com/repos/cyclejs/cycle-dom/issues{/number}","pulls_url":"https://api.github.com/repos/cyclejs/cycle-dom/pulls{/number}","milestones_url":"https://api.github.com/repos/cyclejs/cycle-dom/milestones{/number}","notifications_url":"https://api.github.com/repos/cyclejs/cycle-dom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cyclejs/cycle-dom/labels{/name}","releases_url":"https://api.github.com/repos/cyclejs/cycle-dom/releases{/id}","created_at":"2015-06-24T15:32:40Z","updated_at":"2016-01-12T23:23:43Z","pushed_at":"2016-01-16T17:31:10Z","git_url":"git://github.com/cyclejs/cycle-dom.git","ssh_url":"git@github.com:cyclejs/cycle-dom.git","clone_url":"https://github.com/cyclejs/cycle-dom.git","svn_url":"https://github.com/cyclejs/cycle-dom","homepage":null,"size":1323,"stargazers_count":88,"watchers_count":88,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":15,"forks":20,"open_issues":15,"watchers":88,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/93"},"html":{"href":"https://github.com/cyclejs/cycle-dom/pull/93"},"issue":{"href":"https://api.github.com/repos/cyclejs/cycle-dom/issues/93"},"comments":{"href":"https://api.github.com/repos/cyclejs/cycle-dom/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cyclejs/cycle-dom/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/cyclejs/cycle-dom/statuses/12ea6290e7db6fb51cc9ac7a11204d2bf3e99eb6"}}}}