{"action":"created","comment":{"url":"https://api.github.com/repos/stevenbfine/snap-it/pulls/comments/74326663","id":74326663,"diff_hunk":"@@ -464,29 +464,34 @@ QUnit.test('fullyQualifiedFontURL', function(assert) {\n   var url2 = './hello/world/';\n   assert.equal(\n     serializer.fullyQualifiedFontURL(href, url2),\n-    'http://www.example.com/path/hello/world/'\n+    'http://www.example.com/path/./hello/world/'\n   );\n   var url3 = '../hello/world/';\n   assert.equal(\n     serializer.fullyQualifiedFontURL(href, url3),\n-    'http://www.example.com/hello/world/'\n+    'http://www.example.com/path/../hello/world/'\n   );\n   var url4 = 'http://www.google.com/';\n   assert.equal(\n     serializer.fullyQualifiedFontURL(href, url4),\n     'http://www.google.com/'\n   );\n+  var url5 = 'hello/world/';\n+  assert.equal(\n+    serializer.fullyQualifiedFontURL(href, url5),\n+    'http://www.example.com/path/hello/world/'\n+  );\n });\n \n QUnit.test('processCSSFonts', function(assert) {\n   var serializer = new HTMLSerializer();\n   var cssText = 'body{color:red;}' +\n-      '@font-face{font-family:Font;src:url(\"/hello/\")}';\n+      '@font-face{font-family:Font;\\nsrc:url(\"/hello/\")}';\n   var href = 'http://www.example.com/';\n   serializer.processCSSFonts(window, href, cssText);\n   assert.equal(\n     serializer.fontCSS[0],\n-    '@font-face{font-family:Font;src:url(\"http://www.example.com/hello/\")}'\n+    '@font-face{font-family:Font;\\nsrc:url(\"http://www.example.com/hello/\")}'","path":"tests/tests.js","position":null,"original_position":35,"commit_id":"a127f0d2a9e4eb7ab68eb073a259911d511b69b2","original_commit_id":"0ecfd4295f4391ee3e51156342e2603a1b71af21","user":{"login":"stevenbfine","id":12801379,"avatar_url":"https://avatars.githubusercontent.com/u/12801379?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbfine","html_url":"https://github.com/stevenbfine","followers_url":"https://api.github.com/users/stevenbfine/followers","following_url":"https://api.github.com/users/stevenbfine/following{/other_user}","gists_url":"https://api.github.com/users/stevenbfine/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbfine/subscriptions","organizations_url":"https://api.github.com/users/stevenbfine/orgs","repos_url":"https://api.github.com/users/stevenbfine/repos","events_url":"https://api.github.com/users/stevenbfine/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbfine/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2016-08-10T20:44:07Z","updated_at":"2016-08-10T20:44:07Z","html_url":"https://github.com/stevenbfine/snap-it/pull/50#discussion_r74326663","pull_request_url":"https://api.github.com/repos/stevenbfine/snap-it/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/stevenbfine/snap-it/pulls/comments/74326663"},"html":{"href":"https://github.com/stevenbfine/snap-it/pull/50#discussion_r74326663"},"pull_request":{"href":"https://api.github.com/repos/stevenbfine/snap-it/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/stevenbfine/snap-it/pulls/50","id":80844117,"html_url":"https://github.com/stevenbfine/snap-it/pull/50","diff_url":"https://github.com/stevenbfine/snap-it/pull/50.diff","patch_url":"https://github.com/stevenbfine/snap-it/pull/50.patch","issue_url":"https://api.github.com/repos/stevenbfine/snap-it/issues/50","number":50,"state":"open","locked":false,"title":"Allow line terminators in @font-face declaration","user":{"login":"stevenbfine","id":12801379,"avatar_url":"https://avatars.githubusercontent.com/u/12801379?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbfine","html_url":"https://github.com/stevenbfine","followers_url":"https://api.github.com/users/stevenbfine/followers","following_url":"https://api.github.com/users/stevenbfine/following{/other_user}","gists_url":"https://api.github.com/users/stevenbfine/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbfine/subscriptions","organizations_url":"https://api.github.com/users/stevenbfine/orgs","repos_url":"https://api.github.com/users/stevenbfine/repos","events_url":"https://api.github.com/users/stevenbfine/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbfine/received_events","type":"User","site_admin":false},"body":"This pull request is in response to @progers comment that it didn't work on one of the sites he tried (http://dglazkov.com). It was a small fix (line 407), and I changed the tests to test for this scenario. However, I also made a few changes that handle some edge cases that weren't previously handled.","created_at":"2016-08-10T18:32:26Z","updated_at":"2016-08-10T20:44:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8f578c35065c8b8927b90261100981b95b55f87","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/stevenbfine/snap-it/pulls/50/commits","review_comments_url":"https://api.github.com/repos/stevenbfine/snap-it/pulls/50/comments","review_comment_url":"https://api.github.com/repos/stevenbfine/snap-it/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stevenbfine/snap-it/issues/50/comments","statuses_url":"https://api.github.com/repos/stevenbfine/snap-it/statuses/a127f0d2a9e4eb7ab68eb073a259911d511b69b2","head":{"label":"stevenbfine:download-fonts","ref":"download-fonts","sha":"a127f0d2a9e4eb7ab68eb073a259911d511b69b2","user":{"login":"stevenbfine","id":12801379,"avatar_url":"https://avatars.githubusercontent.com/u/12801379?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbfine","html_url":"https://github.com/stevenbfine","followers_url":"https://api.github.com/users/stevenbfine/followers","following_url":"https://api.github.com/users/stevenbfine/following{/other_user}","gists_url":"https://api.github.com/users/stevenbfine/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbfine/subscriptions","organizations_url":"https://api.github.com/users/stevenbfine/orgs","repos_url":"https://api.github.com/users/stevenbfine/repos","events_url":"https://api.github.com/users/stevenbfine/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbfine/received_events","type":"User","site_admin":false},"repo":{"id":62165640,"name":"snap-it","full_name":"stevenbfine/snap-it","owner":{"login":"stevenbfine","id":12801379,"avatar_url":"https://avatars.githubusercontent.com/u/12801379?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbfine","html_url":"https://github.com/stevenbfine","followers_url":"https://api.github.com/users/stevenbfine/followers","following_url":"https://api.github.com/users/stevenbfine/following{/other_user}","gists_url":"https://api.github.com/users/stevenbfine/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbfine/subscriptions","organizations_url":"https://api.github.com/users/stevenbfine/orgs","repos_url":"https://api.github.com/users/stevenbfine/repos","events_url":"https://api.github.com/users/stevenbfine/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbfine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevenbfine/snap-it","description":null,"fork":false,"url":"https://api.github.com/repos/stevenbfine/snap-it","forks_url":"https://api.github.com/repos/stevenbfine/snap-it/forks","keys_url":"https://api.github.com/repos/stevenbfine/snap-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevenbfine/snap-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevenbfine/snap-it/teams","hooks_url":"https://api.github.com/repos/stevenbfine/snap-it/hooks","issue_events_url":"https://api.github.com/repos/stevenbfine/snap-it/issues/events{/number}","events_url":"https://api.github.com/repos/stevenbfine/snap-it/events","assignees_url":"https://api.github.com/repos/stevenbfine/snap-it/assignees{/user}","branches_url":"https://api.github.com/repos/stevenbfine/snap-it/branches{/branch}","tags_url":"https://api.github.com/repos/stevenbfine/snap-it/tags","blobs_url":"https://api.github.com/repos/stevenbfine/snap-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevenbfine/snap-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevenbfine/snap-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevenbfine/snap-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevenbfine/snap-it/statuses/{sha}","languages_url":"https://api.github.com/repos/stevenbfine/snap-it/languages","stargazers_url":"https://api.github.com/repos/stevenbfine/snap-it/stargazers","contributors_url":"https://api.github.com/repos/stevenbfine/snap-it/contributors","subscribers_url":"https://api.github.com/repos/stevenbfine/snap-it/subscribers","subscription_url":"https://api.github.com/repos/stevenbfine/snap-it/subscription","commits_url":"https://api.github.com/repos/stevenbfine/snap-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevenbfine/snap-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevenbfine/snap-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevenbfine/snap-it/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevenbfine/snap-it/contents/{+path}","compare_url":"https://api.github.com/repos/stevenbfine/snap-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevenbfine/snap-it/merges","archive_url":"https://api.github.com/repos/stevenbfine/snap-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevenbfine/snap-it/downloads","issues_url":"https://api.github.com/repos/stevenbfine/snap-it/issues{/number}","pulls_url":"https://api.github.com/repos/stevenbfine/snap-it/pulls{/number}","milestones_url":"https://api.github.com/repos/stevenbfine/snap-it/milestones{/number}","notifications_url":"https://api.github.com/repos/stevenbfine/snap-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevenbfine/snap-it/labels{/name}","releases_url":"https://api.github.com/repos/stevenbfine/snap-it/releases{/id}","deployments_url":"https://api.github.com/repos/stevenbfine/snap-it/deployments","created_at":"2016-06-28T18:42:51Z","updated_at":"2016-06-28T20:03:55Z","pushed_at":"2016-08-10T20:43:00Z","git_url":"git://github.com/stevenbfine/snap-it.git","ssh_url":"git@github.com:stevenbfine/snap-it.git","clone_url":"https://github.com/stevenbfine/snap-it.git","svn_url":"https://github.com/stevenbfine/snap-it","homepage":null,"size":107,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":0,"default_branch":"master"}},"base":{"label":"stevenbfine:master","ref":"master","sha":"bb37de3c9205bd07906db672097e9154db8e548f","user":{"login":"stevenbfine","id":12801379,"avatar_url":"https://avatars.githubusercontent.com/u/12801379?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbfine","html_url":"https://github.com/stevenbfine","followers_url":"https://api.github.com/users/stevenbfine/followers","following_url":"https://api.github.com/users/stevenbfine/following{/other_user}","gists_url":"https://api.github.com/users/stevenbfine/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbfine/subscriptions","organizations_url":"https://api.github.com/users/stevenbfine/orgs","repos_url":"https://api.github.com/users/stevenbfine/repos","events_url":"https://api.github.com/users/stevenbfine/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbfine/received_events","type":"User","site_admin":false},"repo":{"id":62165640,"name":"snap-it","full_name":"stevenbfine/snap-it","owner":{"login":"stevenbfine","id":12801379,"avatar_url":"https://avatars.githubusercontent.com/u/12801379?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbfine","html_url":"https://github.com/stevenbfine","followers_url":"https://api.github.com/users/stevenbfine/followers","following_url":"https://api.github.com/users/stevenbfine/following{/other_user}","gists_url":"https://api.github.com/users/stevenbfine/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbfine/subscriptions","organizations_url":"https://api.github.com/users/stevenbfine/orgs","repos_url":"https://api.github.com/users/stevenbfine/repos","events_url":"https://api.github.com/users/stevenbfine/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbfine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevenbfine/snap-it","description":null,"fork":false,"url":"https://api.github.com/repos/stevenbfine/snap-it","forks_url":"https://api.github.com/repos/stevenbfine/snap-it/forks","keys_url":"https://api.github.com/repos/stevenbfine/snap-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevenbfine/snap-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevenbfine/snap-it/teams","hooks_url":"https://api.github.com/repos/stevenbfine/snap-it/hooks","issue_events_url":"https://api.github.com/repos/stevenbfine/snap-it/issues/events{/number}","events_url":"https://api.github.com/repos/stevenbfine/snap-it/events","assignees_url":"https://api.github.com/repos/stevenbfine/snap-it/assignees{/user}","branches_url":"https://api.github.com/repos/stevenbfine/snap-it/branches{/branch}","tags_url":"https://api.github.com/repos/stevenbfine/snap-it/tags","blobs_url":"https://api.github.com/repos/stevenbfine/snap-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevenbfine/snap-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevenbfine/snap-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevenbfine/snap-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevenbfine/snap-it/statuses/{sha}","languages_url":"https://api.github.com/repos/stevenbfine/snap-it/languages","stargazers_url":"https://api.github.com/repos/stevenbfine/snap-it/stargazers","contributors_url":"https://api.github.com/repos/stevenbfine/snap-it/contributors","subscribers_url":"https://api.github.com/repos/stevenbfine/snap-it/subscribers","subscription_url":"https://api.github.com/repos/stevenbfine/snap-it/subscription","commits_url":"https://api.github.com/repos/stevenbfine/snap-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevenbfine/snap-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevenbfine/snap-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevenbfine/snap-it/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevenbfine/snap-it/contents/{+path}","compare_url":"https://api.github.com/repos/stevenbfine/snap-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevenbfine/snap-it/merges","archive_url":"https://api.github.com/repos/stevenbfine/snap-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevenbfine/snap-it/downloads","issues_url":"https://api.github.com/repos/stevenbfine/snap-it/issues{/number}","pulls_url":"https://api.github.com/repos/stevenbfine/snap-it/pulls{/number}","milestones_url":"https://api.github.com/repos/stevenbfine/snap-it/milestones{/number}","notifications_url":"https://api.github.com/repos/stevenbfine/snap-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevenbfine/snap-it/labels{/name}","releases_url":"https://api.github.com/repos/stevenbfine/snap-it/releases{/id}","deployments_url":"https://api.github.com/repos/stevenbfine/snap-it/deployments","created_at":"2016-06-28T18:42:51Z","updated_at":"2016-06-28T20:03:55Z","pushed_at":"2016-08-10T20:43:00Z","git_url":"git://github.com/stevenbfine/snap-it.git","ssh_url":"git@github.com:stevenbfine/snap-it.git","clone_url":"https://github.com/stevenbfine/snap-it.git","svn_url":"https://github.com/stevenbfine/snap-it","homepage":null,"size":107,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stevenbfine/snap-it/pulls/50"},"html":{"href":"https://github.com/stevenbfine/snap-it/pull/50"},"issue":{"href":"https://api.github.com/repos/stevenbfine/snap-it/issues/50"},"comments":{"href":"https://api.github.com/repos/stevenbfine/snap-it/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/stevenbfine/snap-it/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/stevenbfine/snap-it/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stevenbfine/snap-it/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/stevenbfine/snap-it/statuses/a127f0d2a9e4eb7ab68eb073a259911d511b69b2"}}}}
{"actor":{"display_login":"stevenbfine"}}