{"action":"created","comment":{"url":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/comments/34128074","id":34128074,"diff_hunk":"@@ -0,0 +1,116 @@\n+/**\n+ * # Pixel Tracker Generator.\n+ *\n+ * Requires a component with a wrapping div that has a `data-dough-component=\"PixelTrackerGenerator\"` attribute.\n+ * The application file will spawn an instance of this class for each element it finds on the page.\n+ *\n+ * See test fixture for sample markup - /spec/js/fixtures/PixelTrackerGenerator.html\n+ */\n+\n+/**\n+ * Require from Config\n+ * @param  {object} $                  jQuery\n+ * @param  {object} DoughBaseComponent Dough\n+ * @return {object}                    PixelTrackerGenerator\n+ * @private\n+ */\n+define(['jquery', 'DoughBaseComponent', 'Validation'], function($, DoughBaseComponent) {","path":"app/assets/javascripts/modules/PixelTrackerGenerator.js","position":17,"original_position":17,"commit_id":"270f2fff7499fd0e339ad8754b7364bde2965c33","original_commit_id":"270f2fff7499fd0e339ad8754b7364bde2965c33","user":{"login":"benbarnett","id":295469,"avatar_url":"https://avatars.githubusercontent.com/u/295469?v=3","gravatar_id":"","url":"https://api.github.com/users/benbarnett","html_url":"https://github.com/benbarnett","followers_url":"https://api.github.com/users/benbarnett/followers","following_url":"https://api.github.com/users/benbarnett/following{/other_user}","gists_url":"https://api.github.com/users/benbarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/benbarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbarnett/subscriptions","organizations_url":"https://api.github.com/users/benbarnett/orgs","repos_url":"https://api.github.com/users/benbarnett/repos","events_url":"https://api.github.com/users/benbarnett/events{/privacy}","received_events_url":"https://api.github.com/users/benbarnett/received_events","type":"User","site_admin":false},"body":"No need for `validation` here as it'll be pulled in by ComponentLoader.","created_at":"2015-07-08T09:00:24Z","updated_at":"2015-07-08T09:00:24Z","html_url":"https://github.com/moneyadviceservice/webfeeds/pull/68#discussion_r34128074","pull_request_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/comments/34128074"},"html":{"href":"https://github.com/moneyadviceservice/webfeeds/pull/68#discussion_r34128074"},"pull_request":{"href":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/68","id":39257230,"html_url":"https://github.com/moneyadviceservice/webfeeds/pull/68","diff_url":"https://github.com/moneyadviceservice/webfeeds/pull/68.diff","patch_url":"https://github.com/moneyadviceservice/webfeeds/pull/68.patch","issue_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/issues/68","number":68,"state":"open","locked":false,"title":"Standalone pixel tracker","user":{"login":"mconnell","id":32398,"avatar_url":"https://avatars.githubusercontent.com/u/32398?v=3","gravatar_id":"","url":"https://api.github.com/users/mconnell","html_url":"https://github.com/mconnell","followers_url":"https://api.github.com/users/mconnell/followers","following_url":"https://api.github.com/users/mconnell/following{/other_user}","gists_url":"https://api.github.com/users/mconnell/gists{/gist_id}","starred_url":"https://api.github.com/users/mconnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mconnell/subscriptions","organizations_url":"https://api.github.com/users/mconnell/orgs","repos_url":"https://api.github.com/users/mconnell/repos","events_url":"https://api.github.com/users/mconnell/events{/privacy}","received_events_url":"https://api.github.com/users/mconnell/received_events","type":"User","site_admin":false},"body":"Edmund wanted to be able to create pixel tracking image tags for custom articles that are not available from the standard sources.","created_at":"2015-07-06T11:11:46Z","updated_at":"2015-07-08T09:00:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d46b2dc64ac1cb0214434a74992498b6b999ff16","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/68/commits","review_comments_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/68/comments","review_comment_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/issues/68/comments","statuses_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/statuses/270f2fff7499fd0e339ad8754b7364bde2965c33","head":{"label":"moneyadviceservice:standalone_pixel_tracker","ref":"standalone_pixel_tracker","sha":"270f2fff7499fd0e339ad8754b7364bde2965c33","user":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?v=3","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"repo":{"id":34719869,"name":"webfeeds","full_name":"moneyadviceservice/webfeeds","owner":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?v=3","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moneyadviceservice/webfeeds","description":"","fork":false,"url":"https://api.github.com/repos/moneyadviceservice/webfeeds","forks_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/forks","keys_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/teams","hooks_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/hooks","issue_events_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/issues/events{/number}","events_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/events","assignees_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/assignees{/user}","branches_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/branches{/branch}","tags_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/tags","blobs_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/git/refs{/sha}","trees_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/statuses/{sha}","languages_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/languages","stargazers_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/stargazers","contributors_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/contributors","subscribers_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/subscribers","subscription_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/subscription","commits_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/commits{/sha}","git_commits_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/git/commits{/sha}","comments_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/comments{/number}","issue_comment_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/issues/comments{/number}","contents_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/contents/{+path}","compare_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/merges","archive_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/downloads","issues_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/issues{/number}","pulls_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls{/number}","milestones_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/milestones{/number}","notifications_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/labels{/name}","releases_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/releases{/id}","created_at":"2015-04-28T08:59:24Z","updated_at":"2015-05-06T09:27:41Z","pushed_at":"2015-07-08T08:58:53Z","git_url":"git://github.com/moneyadviceservice/webfeeds.git","ssh_url":"git@github.com:moneyadviceservice/webfeeds.git","clone_url":"https://github.com/moneyadviceservice/webfeeds.git","svn_url":"https://github.com/moneyadviceservice/webfeeds","homepage":null,"size":33027,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"moneyadviceservice:master","ref":"master","sha":"b6ff5ef47bf62926ab3decb2579e817c05448ced","user":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?v=3","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"repo":{"id":34719869,"name":"webfeeds","full_name":"moneyadviceservice/webfeeds","owner":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?v=3","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moneyadviceservice/webfeeds","description":"","fork":false,"url":"https://api.github.com/repos/moneyadviceservice/webfeeds","forks_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/forks","keys_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/teams","hooks_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/hooks","issue_events_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/issues/events{/number}","events_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/events","assignees_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/assignees{/user}","branches_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/branches{/branch}","tags_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/tags","blobs_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/git/refs{/sha}","trees_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/statuses/{sha}","languages_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/languages","stargazers_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/stargazers","contributors_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/contributors","subscribers_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/subscribers","subscription_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/subscription","commits_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/commits{/sha}","git_commits_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/git/commits{/sha}","comments_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/comments{/number}","issue_comment_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/issues/comments{/number}","contents_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/contents/{+path}","compare_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/merges","archive_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/downloads","issues_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/issues{/number}","pulls_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls{/number}","milestones_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/milestones{/number}","notifications_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/labels{/name}","releases_url":"https://api.github.com/repos/moneyadviceservice/webfeeds/releases{/id}","created_at":"2015-04-28T08:59:24Z","updated_at":"2015-05-06T09:27:41Z","pushed_at":"2015-07-08T08:58:53Z","git_url":"git://github.com/moneyadviceservice/webfeeds.git","ssh_url":"git@github.com:moneyadviceservice/webfeeds.git","clone_url":"https://github.com/moneyadviceservice/webfeeds.git","svn_url":"https://github.com/moneyadviceservice/webfeeds","homepage":null,"size":33027,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/68"},"html":{"href":"https://github.com/moneyadviceservice/webfeeds/pull/68"},"issue":{"href":"https://api.github.com/repos/moneyadviceservice/webfeeds/issues/68"},"comments":{"href":"https://api.github.com/repos/moneyadviceservice/webfeeds/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moneyadviceservice/webfeeds/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/moneyadviceservice/webfeeds/statuses/270f2fff7499fd0e339ad8754b7364bde2965c33"}}}}