{"action":"created","comment":{"url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/comments/94948732","pull_request_review_id":15491838,"id":94948732,"diff_hunk":"@@ -889,6 +889,28 @@ var deleteContentsOfRange = function ( range, root ) {\n     return frag;\n };\n \n+var isNodeEmpty = function ( node ) {\n+    if (!node) {","path":"build/squire-raw.js","position":5,"original_position":5,"commit_id":"99c2ae2821754bfeb29512ef4a63457b8234e43a","original_commit_id":"99c2ae2821754bfeb29512ef4a63457b8234e43a","user":{"login":"akauffmanGG","id":11547798,"avatar_url":"https://avatars.githubusercontent.com/u/11547798?v=3","gravatar_id":"","url":"https://api.github.com/users/akauffmanGG","html_url":"https://github.com/akauffmanGG","followers_url":"https://api.github.com/users/akauffmanGG/followers","following_url":"https://api.github.com/users/akauffmanGG/following{/other_user}","gists_url":"https://api.github.com/users/akauffmanGG/gists{/gist_id}","starred_url":"https://api.github.com/users/akauffmanGG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akauffmanGG/subscriptions","organizations_url":"https://api.github.com/users/akauffmanGG/orgs","repos_url":"https://api.github.com/users/akauffmanGG/repos","events_url":"https://api.github.com/users/akauffmanGG/events{/privacy}","received_events_url":"https://api.github.com/users/akauffmanGG/received_events","type":"User","site_admin":false},"body":"spacing","created_at":"2017-01-06T13:59:56Z","updated_at":"2017-01-06T14:00:23Z","html_url":"https://github.com/InteractiveIntelligence/Squire/pull/88#discussion_r94948732","pull_request_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/comments/94948732"},"html":{"href":"https://github.com/InteractiveIntelligence/Squire/pull/88#discussion_r94948732"},"pull_request":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/88","id":100360011,"html_url":"https://github.com/InteractiveIntelligence/Squire/pull/88","diff_url":"https://github.com/InteractiveIntelligence/Squire/pull/88.diff","patch_url":"https://github.com/InteractiveIntelligence/Squire/pull/88.patch","issue_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/88","number":88,"state":"open","locked":false,"title":"Inserting fragments should not remove image nodes","user":{"login":"covertcj","id":253494,"avatar_url":"https://avatars.githubusercontent.com/u/253494?v=3","gravatar_id":"","url":"https://api.github.com/users/covertcj","html_url":"https://github.com/covertcj","followers_url":"https://api.github.com/users/covertcj/followers","following_url":"https://api.github.com/users/covertcj/following{/other_user}","gists_url":"https://api.github.com/users/covertcj/gists{/gist_id}","starred_url":"https://api.github.com/users/covertcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/covertcj/subscriptions","organizations_url":"https://api.github.com/users/covertcj/orgs","repos_url":"https://api.github.com/users/covertcj/repos","events_url":"https://api.github.com/users/covertcj/events{/privacy}","received_events_url":"https://api.github.com/users/covertcj/received_events","type":"User","site_admin":false},"body":"* insertTreeFragmentIntoRange now checks for image nodes in addition to\r\nthe text content when removing empty nodes","created_at":"2017-01-05T20:41:19Z","updated_at":"2017-01-06T14:00:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"729230b6d561da5ce2a55b5c077f920b691a311b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/88/commits","review_comments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/88/comments","review_comment_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/comments{/number}","comments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/88/comments","statuses_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/statuses/99c2ae2821754bfeb29512ef4a63457b8234e43a","head":{"label":"InteractiveIntelligence:inin-disappearing-images","ref":"inin-disappearing-images","sha":"99c2ae2821754bfeb29512ef4a63457b8234e43a","user":{"login":"InteractiveIntelligence","id":5074124,"avatar_url":"https://avatars.githubusercontent.com/u/5074124?v=3","gravatar_id":"","url":"https://api.github.com/users/InteractiveIntelligence","html_url":"https://github.com/InteractiveIntelligence","followers_url":"https://api.github.com/users/InteractiveIntelligence/followers","following_url":"https://api.github.com/users/InteractiveIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/InteractiveIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/InteractiveIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InteractiveIntelligence/subscriptions","organizations_url":"https://api.github.com/users/InteractiveIntelligence/orgs","repos_url":"https://api.github.com/users/InteractiveIntelligence/repos","events_url":"https://api.github.com/users/InteractiveIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/InteractiveIntelligence/received_events","type":"Organization","site_admin":false},"repo":{"id":33547720,"name":"Squire","full_name":"InteractiveIntelligence/Squire","owner":{"login":"InteractiveIntelligence","id":5074124,"avatar_url":"https://avatars.githubusercontent.com/u/5074124?v=3","gravatar_id":"","url":"https://api.github.com/users/InteractiveIntelligence","html_url":"https://github.com/InteractiveIntelligence","followers_url":"https://api.github.com/users/InteractiveIntelligence/followers","following_url":"https://api.github.com/users/InteractiveIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/InteractiveIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/InteractiveIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InteractiveIntelligence/subscriptions","organizations_url":"https://api.github.com/users/InteractiveIntelligence/orgs","repos_url":"https://api.github.com/users/InteractiveIntelligence/repos","events_url":"https://api.github.com/users/InteractiveIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/InteractiveIntelligence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InteractiveIntelligence/Squire","description":"HTML5 rich text editor. Try the demo integration at","fork":true,"url":"https://api.github.com/repos/InteractiveIntelligence/Squire","forks_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/forks","keys_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/teams","hooks_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/hooks","issue_events_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/events{/number}","events_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/events","assignees_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/assignees{/user}","branches_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/branches{/branch}","tags_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/tags","blobs_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/refs{/sha}","trees_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/statuses/{sha}","languages_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/languages","stargazers_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/stargazers","contributors_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/contributors","subscribers_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/subscribers","subscription_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/subscription","commits_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/commits{/sha}","git_commits_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/commits{/sha}","comments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/comments{/number}","issue_comment_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/comments{/number}","contents_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/contents/{+path}","compare_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/merges","archive_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/downloads","issues_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues{/number}","pulls_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls{/number}","milestones_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/milestones{/number}","notifications_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/labels{/name}","releases_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/releases{/id}","deployments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/deployments","created_at":"2015-04-07T14:21:21Z","updated_at":"2016-07-12T14:47:59Z","pushed_at":"2017-01-05T20:41:19Z","git_url":"git://github.com/InteractiveIntelligence/Squire.git","ssh_url":"git@github.com:InteractiveIntelligence/Squire.git","clone_url":"https://github.com/InteractiveIntelligence/Squire.git","svn_url":"https://github.com/InteractiveIntelligence/Squire","homepage":"http://neilj.github.io/Squire/","size":3062,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"InteractiveIntelligence:inin-master","ref":"inin-master","sha":"4c88684e437900aebcc101cfdefc327023b33033","user":{"login":"InteractiveIntelligence","id":5074124,"avatar_url":"https://avatars.githubusercontent.com/u/5074124?v=3","gravatar_id":"","url":"https://api.github.com/users/InteractiveIntelligence","html_url":"https://github.com/InteractiveIntelligence","followers_url":"https://api.github.com/users/InteractiveIntelligence/followers","following_url":"https://api.github.com/users/InteractiveIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/InteractiveIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/InteractiveIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InteractiveIntelligence/subscriptions","organizations_url":"https://api.github.com/users/InteractiveIntelligence/orgs","repos_url":"https://api.github.com/users/InteractiveIntelligence/repos","events_url":"https://api.github.com/users/InteractiveIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/InteractiveIntelligence/received_events","type":"Organization","site_admin":false},"repo":{"id":33547720,"name":"Squire","full_name":"InteractiveIntelligence/Squire","owner":{"login":"InteractiveIntelligence","id":5074124,"avatar_url":"https://avatars.githubusercontent.com/u/5074124?v=3","gravatar_id":"","url":"https://api.github.com/users/InteractiveIntelligence","html_url":"https://github.com/InteractiveIntelligence","followers_url":"https://api.github.com/users/InteractiveIntelligence/followers","following_url":"https://api.github.com/users/InteractiveIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/InteractiveIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/InteractiveIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InteractiveIntelligence/subscriptions","organizations_url":"https://api.github.com/users/InteractiveIntelligence/orgs","repos_url":"https://api.github.com/users/InteractiveIntelligence/repos","events_url":"https://api.github.com/users/InteractiveIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/InteractiveIntelligence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InteractiveIntelligence/Squire","description":"HTML5 rich text editor. Try the demo integration at","fork":true,"url":"https://api.github.com/repos/InteractiveIntelligence/Squire","forks_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/forks","keys_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/teams","hooks_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/hooks","issue_events_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/events{/number}","events_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/events","assignees_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/assignees{/user}","branches_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/branches{/branch}","tags_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/tags","blobs_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/refs{/sha}","trees_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/statuses/{sha}","languages_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/languages","stargazers_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/stargazers","contributors_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/contributors","subscribers_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/subscribers","subscription_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/subscription","commits_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/commits{/sha}","git_commits_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/commits{/sha}","comments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/comments{/number}","issue_comment_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/comments{/number}","contents_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/contents/{+path}","compare_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/merges","archive_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/downloads","issues_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues{/number}","pulls_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls{/number}","milestones_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/milestones{/number}","notifications_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/labels{/name}","releases_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/releases{/id}","deployments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/deployments","created_at":"2015-04-07T14:21:21Z","updated_at":"2016-07-12T14:47:59Z","pushed_at":"2017-01-05T20:41:19Z","git_url":"git://github.com/InteractiveIntelligence/Squire.git","ssh_url":"git@github.com:InteractiveIntelligence/Squire.git","clone_url":"https://github.com/InteractiveIntelligence/Squire.git","svn_url":"https://github.com/InteractiveIntelligence/Squire","homepage":"http://neilj.github.io/Squire/","size":3062,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/88"},"html":{"href":"https://github.com/InteractiveIntelligence/Squire/pull/88"},"issue":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/88"},"comments":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/statuses/99c2ae2821754bfeb29512ef4a63457b8234e43a"}}}}
{"actor":{"display_login":"akauffmanGG"}}