{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/thomsbg/convert-rich-text/pulls/2","id":66033407,"html_url":"https://github.com/thomsbg/convert-rich-text/pull/2","diff_url":"https://github.com/thomsbg/convert-rich-text/pull/2.diff","patch_url":"https://github.com/thomsbg/convert-rich-text/pull/2.patch","issue_url":"https://api.github.com/repos/thomsbg/convert-rich-text/issues/2","number":2,"state":"open","locked":false,"title":"Server side capability via jsdom","user":{"login":"bceskavich","id":5049830,"avatar_url":"https://avatars.githubusercontent.com/u/5049830?v=3","gravatar_id":"","url":"https://api.github.com/users/bceskavich","html_url":"https://github.com/bceskavich","followers_url":"https://api.github.com/users/bceskavich/followers","following_url":"https://api.github.com/users/bceskavich/following{/other_user}","gists_url":"https://api.github.com/users/bceskavich/gists{/gist_id}","starred_url":"https://api.github.com/users/bceskavich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bceskavich/subscriptions","organizations_url":"https://api.github.com/users/bceskavich/orgs","repos_url":"https://api.github.com/users/bceskavich/repos","events_url":"https://api.github.com/users/bceskavich/events{/privacy}","received_events_url":"https://api.github.com/users/bceskavich/received_events","type":"User","site_admin":false},"body":"Due to some new feature work in Anthem, we need to have `convert-rich-text` function on the server as well as the client. This PR adds logic to load jsdom's virtual DOM if none is detected on module load. New tests have been added as well to cover this logic.","created_at":"2016-04-11T17:44:49Z","updated_at":"2016-04-11T17:44:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thomsbg/convert-rich-text/pulls/2/commits","review_comments_url":"https://api.github.com/repos/thomsbg/convert-rich-text/pulls/2/comments","review_comment_url":"https://api.github.com/repos/thomsbg/convert-rich-text/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thomsbg/convert-rich-text/issues/2/comments","statuses_url":"https://api.github.com/repos/thomsbg/convert-rich-text/statuses/7a2a50e68a284765a8829127e14b61c4b8914834","head":{"label":"voxmedia:bc-jsdom","ref":"bc-jsdom","sha":"7a2a50e68a284765a8829127e14b61c4b8914834","user":{"login":"voxmedia","id":316807,"avatar_url":"https://avatars.githubusercontent.com/u/316807?v=3","gravatar_id":"","url":"https://api.github.com/users/voxmedia","html_url":"https://github.com/voxmedia","followers_url":"https://api.github.com/users/voxmedia/followers","following_url":"https://api.github.com/users/voxmedia/following{/other_user}","gists_url":"https://api.github.com/users/voxmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/voxmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxmedia/subscriptions","organizations_url":"https://api.github.com/users/voxmedia/orgs","repos_url":"https://api.github.com/users/voxmedia/repos","events_url":"https://api.github.com/users/voxmedia/events{/privacy}","received_events_url":"https://api.github.com/users/voxmedia/received_events","type":"Organization","site_admin":false},"repo":{"id":55990804,"name":"convert-rich-text","full_name":"voxmedia/convert-rich-text","owner":{"login":"voxmedia","id":316807,"avatar_url":"https://avatars.githubusercontent.com/u/316807?v=3","gravatar_id":"","url":"https://api.github.com/users/voxmedia","html_url":"https://github.com/voxmedia","followers_url":"https://api.github.com/users/voxmedia/followers","following_url":"https://api.github.com/users/voxmedia/following{/other_user}","gists_url":"https://api.github.com/users/voxmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/voxmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxmedia/subscriptions","organizations_url":"https://api.github.com/users/voxmedia/orgs","repos_url":"https://api.github.com/users/voxmedia/repos","events_url":"https://api.github.com/users/voxmedia/events{/privacy}","received_events_url":"https://api.github.com/users/voxmedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/voxmedia/convert-rich-text","description":"Convert an insert-only rich-text delta into HTML","fork":true,"url":"https://api.github.com/repos/voxmedia/convert-rich-text","forks_url":"https://api.github.com/repos/voxmedia/convert-rich-text/forks","keys_url":"https://api.github.com/repos/voxmedia/convert-rich-text/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voxmedia/convert-rich-text/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voxmedia/convert-rich-text/teams","hooks_url":"https://api.github.com/repos/voxmedia/convert-rich-text/hooks","issue_events_url":"https://api.github.com/repos/voxmedia/convert-rich-text/issues/events{/number}","events_url":"https://api.github.com/repos/voxmedia/convert-rich-text/events","assignees_url":"https://api.github.com/repos/voxmedia/convert-rich-text/assignees{/user}","branches_url":"https://api.github.com/repos/voxmedia/convert-rich-text/branches{/branch}","tags_url":"https://api.github.com/repos/voxmedia/convert-rich-text/tags","blobs_url":"https://api.github.com/repos/voxmedia/convert-rich-text/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voxmedia/convert-rich-text/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voxmedia/convert-rich-text/git/refs{/sha}","trees_url":"https://api.github.com/repos/voxmedia/convert-rich-text/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voxmedia/convert-rich-text/statuses/{sha}","languages_url":"https://api.github.com/repos/voxmedia/convert-rich-text/languages","stargazers_url":"https://api.github.com/repos/voxmedia/convert-rich-text/stargazers","contributors_url":"https://api.github.com/repos/voxmedia/convert-rich-text/contributors","subscribers_url":"https://api.github.com/repos/voxmedia/convert-rich-text/subscribers","subscription_url":"https://api.github.com/repos/voxmedia/convert-rich-text/subscription","commits_url":"https://api.github.com/repos/voxmedia/convert-rich-text/commits{/sha}","git_commits_url":"https://api.github.com/repos/voxmedia/convert-rich-text/git/commits{/sha}","comments_url":"https://api.github.com/repos/voxmedia/convert-rich-text/comments{/number}","issue_comment_url":"https://api.github.com/repos/voxmedia/convert-rich-text/issues/comments{/number}","contents_url":"https://api.github.com/repos/voxmedia/convert-rich-text/contents/{+path}","compare_url":"https://api.github.com/repos/voxmedia/convert-rich-text/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voxmedia/convert-rich-text/merges","archive_url":"https://api.github.com/repos/voxmedia/convert-rich-text/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voxmedia/convert-rich-text/downloads","issues_url":"https://api.github.com/repos/voxmedia/convert-rich-text/issues{/number}","pulls_url":"https://api.github.com/repos/voxmedia/convert-rich-text/pulls{/number}","milestones_url":"https://api.github.com/repos/voxmedia/convert-rich-text/milestones{/number}","notifications_url":"https://api.github.com/repos/voxmedia/convert-rich-text/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voxmedia/convert-rich-text/labels{/name}","releases_url":"https://api.github.com/repos/voxmedia/convert-rich-text/releases{/id}","deployments_url":"https://api.github.com/repos/voxmedia/convert-rich-text/deployments","created_at":"2016-04-11T16:57:24Z","updated_at":"2016-04-11T16:57:25Z","pushed_at":"2016-04-11T17:41:47Z","git_url":"git://github.com/voxmedia/convert-rich-text.git","ssh_url":"git@github.com:voxmedia/convert-rich-text.git","clone_url":"https://github.com/voxmedia/convert-rich-text.git","svn_url":"https://github.com/voxmedia/convert-rich-text","homepage":"","size":46,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"thomsbg:master","ref":"master","sha":"7823d769f36b23f758db799f16c7234d83a7a144","user":{"login":"thomsbg","id":238948,"avatar_url":"https://avatars.githubusercontent.com/u/238948?v=3","gravatar_id":"","url":"https://api.github.com/users/thomsbg","html_url":"https://github.com/thomsbg","followers_url":"https://api.github.com/users/thomsbg/followers","following_url":"https://api.github.com/users/thomsbg/following{/other_user}","gists_url":"https://api.github.com/users/thomsbg/gists{/gist_id}","starred_url":"https://api.github.com/users/thomsbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomsbg/subscriptions","organizations_url":"https://api.github.com/users/thomsbg/orgs","repos_url":"https://api.github.com/users/thomsbg/repos","events_url":"https://api.github.com/users/thomsbg/events{/privacy}","received_events_url":"https://api.github.com/users/thomsbg/received_events","type":"User","site_admin":false},"repo":{"id":26226935,"name":"convert-rich-text","full_name":"thomsbg/convert-rich-text","owner":{"login":"thomsbg","id":238948,"avatar_url":"https://avatars.githubusercontent.com/u/238948?v=3","gravatar_id":"","url":"https://api.github.com/users/thomsbg","html_url":"https://github.com/thomsbg","followers_url":"https://api.github.com/users/thomsbg/followers","following_url":"https://api.github.com/users/thomsbg/following{/other_user}","gists_url":"https://api.github.com/users/thomsbg/gists{/gist_id}","starred_url":"https://api.github.com/users/thomsbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomsbg/subscriptions","organizations_url":"https://api.github.com/users/thomsbg/orgs","repos_url":"https://api.github.com/users/thomsbg/repos","events_url":"https://api.github.com/users/thomsbg/events{/privacy}","received_events_url":"https://api.github.com/users/thomsbg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thomsbg/convert-rich-text","description":"Convert an insert-only rich-text delta into HTML","fork":true,"url":"https://api.github.com/repos/thomsbg/convert-rich-text","forks_url":"https://api.github.com/repos/thomsbg/convert-rich-text/forks","keys_url":"https://api.github.com/repos/thomsbg/convert-rich-text/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thomsbg/convert-rich-text/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thomsbg/convert-rich-text/teams","hooks_url":"https://api.github.com/repos/thomsbg/convert-rich-text/hooks","issue_events_url":"https://api.github.com/repos/thomsbg/convert-rich-text/issues/events{/number}","events_url":"https://api.github.com/repos/thomsbg/convert-rich-text/events","assignees_url":"https://api.github.com/repos/thomsbg/convert-rich-text/assignees{/user}","branches_url":"https://api.github.com/repos/thomsbg/convert-rich-text/branches{/branch}","tags_url":"https://api.github.com/repos/thomsbg/convert-rich-text/tags","blobs_url":"https://api.github.com/repos/thomsbg/convert-rich-text/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thomsbg/convert-rich-text/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thomsbg/convert-rich-text/git/refs{/sha}","trees_url":"https://api.github.com/repos/thomsbg/convert-rich-text/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thomsbg/convert-rich-text/statuses/{sha}","languages_url":"https://api.github.com/repos/thomsbg/convert-rich-text/languages","stargazers_url":"https://api.github.com/repos/thomsbg/convert-rich-text/stargazers","contributors_url":"https://api.github.com/repos/thomsbg/convert-rich-text/contributors","subscribers_url":"https://api.github.com/repos/thomsbg/convert-rich-text/subscribers","subscription_url":"https://api.github.com/repos/thomsbg/convert-rich-text/subscription","commits_url":"https://api.github.com/repos/thomsbg/convert-rich-text/commits{/sha}","git_commits_url":"https://api.github.com/repos/thomsbg/convert-rich-text/git/commits{/sha}","comments_url":"https://api.github.com/repos/thomsbg/convert-rich-text/comments{/number}","issue_comment_url":"https://api.github.com/repos/thomsbg/convert-rich-text/issues/comments{/number}","contents_url":"https://api.github.com/repos/thomsbg/convert-rich-text/contents/{+path}","compare_url":"https://api.github.com/repos/thomsbg/convert-rich-text/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thomsbg/convert-rich-text/merges","archive_url":"https://api.github.com/repos/thomsbg/convert-rich-text/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thomsbg/convert-rich-text/downloads","issues_url":"https://api.github.com/repos/thomsbg/convert-rich-text/issues{/number}","pulls_url":"https://api.github.com/repos/thomsbg/convert-rich-text/pulls{/number}","milestones_url":"https://api.github.com/repos/thomsbg/convert-rich-text/milestones{/number}","notifications_url":"https://api.github.com/repos/thomsbg/convert-rich-text/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thomsbg/convert-rich-text/labels{/name}","releases_url":"https://api.github.com/repos/thomsbg/convert-rich-text/releases{/id}","deployments_url":"https://api.github.com/repos/thomsbg/convert-rich-text/deployments","created_at":"2014-11-05T15:54:02Z","updated_at":"2016-02-20T17:07:15Z","pushed_at":"2015-06-24T01:43:09Z","git_url":"git://github.com/thomsbg/convert-rich-text.git","ssh_url":"git@github.com:thomsbg/convert-rich-text.git","clone_url":"https://github.com/thomsbg/convert-rich-text.git","svn_url":"https://github.com/thomsbg/convert-rich-text","homepage":"","size":204,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thomsbg/convert-rich-text/pulls/2"},"html":{"href":"https://github.com/thomsbg/convert-rich-text/pull/2"},"issue":{"href":"https://api.github.com/repos/thomsbg/convert-rich-text/issues/2"},"comments":{"href":"https://api.github.com/repos/thomsbg/convert-rich-text/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/thomsbg/convert-rich-text/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/thomsbg/convert-rich-text/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thomsbg/convert-rich-text/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/thomsbg/convert-rich-text/statuses/7a2a50e68a284765a8829127e14b61c4b8914834"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":34,"deletions":5,"changed_files":4}}