{"action":"created","comment":{"url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/comments/55839913","id":55839913,"diff_hunk":"@@ -399,14 +399,14 @@\n                     //Add css3 animation to the element\n                     $marqueeWrapper.css(animationString, animationCss3Str);\n                     var keyframeCss = keyframeString + ' { 100%  ' + _objToString(animationCss) + '}',\n-                        $styles = $('style');\n+                         $styles = $marqueeWrapper.find('style');\n \n-                    //Now add the keyframe animation to the head\n+                    //Now add the keyframe animation to the marquee element\n                     if ($styles.length !== 0) {\n                         //Bug fixed for jQuery 1.3.x - Instead of using .last(), use following\n-                        $styles.filter(\":last\").append(keyframeCss);\n+                        $styles.filter(\":last\").html(keyframeCss);","path":"jquery.marquee.js","position":12,"original_position":12,"commit_id":"dc39db1db639b506333b8e32eb11ee59d2366e3d","original_commit_id":"dc39db1db639b506333b8e32eb11ee59d2366e3d","user":{"login":"aamirafridi","id":55896,"avatar_url":"https://avatars.githubusercontent.com/u/55896?v=3","gravatar_id":"","url":"https://api.github.com/users/aamirafridi","html_url":"https://github.com/aamirafridi","followers_url":"https://api.github.com/users/aamirafridi/followers","following_url":"https://api.github.com/users/aamirafridi/following{/other_user}","gists_url":"https://api.github.com/users/aamirafridi/gists{/gist_id}","starred_url":"https://api.github.com/users/aamirafridi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aamirafridi/subscriptions","organizations_url":"https://api.github.com/users/aamirafridi/orgs","repos_url":"https://api.github.com/users/aamirafridi/repos","events_url":"https://api.github.com/users/aamirafridi/events{/privacy}","received_events_url":"https://api.github.com/users/aamirafridi/received_events","type":"User","site_admin":false},"body":":+1: for replacing previous styles","created_at":"2016-03-11T15:03:39Z","updated_at":"2016-03-11T15:03:39Z","html_url":"https://github.com/aamirafridi/jQuery.Marquee/pull/66#discussion_r55839913","pull_request_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/66","_links":{"self":{"href":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/comments/55839913"},"html":{"href":"https://github.com/aamirafridi/jQuery.Marquee/pull/66#discussion_r55839913"},"pull_request":{"href":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/66","id":62327942,"html_url":"https://github.com/aamirafridi/jQuery.Marquee/pull/66","diff_url":"https://github.com/aamirafridi/jQuery.Marquee/pull/66.diff","patch_url":"https://github.com/aamirafridi/jQuery.Marquee/pull/66.patch","issue_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/issues/66","number":66,"state":"open","locked":false,"title":"fix issue #55","user":{"login":"sauvainr","id":1715747,"avatar_url":"https://avatars.githubusercontent.com/u/1715747?v=3","gravatar_id":"","url":"https://api.github.com/users/sauvainr","html_url":"https://github.com/sauvainr","followers_url":"https://api.github.com/users/sauvainr/followers","following_url":"https://api.github.com/users/sauvainr/following{/other_user}","gists_url":"https://api.github.com/users/sauvainr/gists{/gist_id}","starred_url":"https://api.github.com/users/sauvainr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sauvainr/subscriptions","organizations_url":"https://api.github.com/users/sauvainr/orgs","repos_url":"https://api.github.com/users/sauvainr/repos","events_url":"https://api.github.com/users/sauvainr/events{/privacy}","received_events_url":"https://api.github.com/users/sauvainr/received_events","type":"User","site_admin":false},"body":"Insert the css into the marquee element instead of head and replace css if already present.\r\n\r\nImportant: I didnt updated the minified file","created_at":"2016-03-10T01:55:48Z","updated_at":"2016-03-11T15:03:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"785643990babf69f6190bb0a0b213c1ae7abc347","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/66/commits","review_comments_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/66/comments","review_comment_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/issues/66/comments","statuses_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/statuses/dc39db1db639b506333b8e32eb11ee59d2366e3d","head":{"label":"sauvainr:master","ref":"master","sha":"dc39db1db639b506333b8e32eb11ee59d2366e3d","user":{"login":"sauvainr","id":1715747,"avatar_url":"https://avatars.githubusercontent.com/u/1715747?v=3","gravatar_id":"","url":"https://api.github.com/users/sauvainr","html_url":"https://github.com/sauvainr","followers_url":"https://api.github.com/users/sauvainr/followers","following_url":"https://api.github.com/users/sauvainr/following{/other_user}","gists_url":"https://api.github.com/users/sauvainr/gists{/gist_id}","starred_url":"https://api.github.com/users/sauvainr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sauvainr/subscriptions","organizations_url":"https://api.github.com/users/sauvainr/orgs","repos_url":"https://api.github.com/users/sauvainr/repos","events_url":"https://api.github.com/users/sauvainr/events{/privacy}","received_events_url":"https://api.github.com/users/sauvainr/received_events","type":"User","site_admin":false},"repo":{"id":53544982,"name":"jQuery.Marquee","full_name":"sauvainr/jQuery.Marquee","owner":{"login":"sauvainr","id":1715747,"avatar_url":"https://avatars.githubusercontent.com/u/1715747?v=3","gravatar_id":"","url":"https://api.github.com/users/sauvainr","html_url":"https://github.com/sauvainr","followers_url":"https://api.github.com/users/sauvainr/followers","following_url":"https://api.github.com/users/sauvainr/following{/other_user}","gists_url":"https://api.github.com/users/sauvainr/gists{/gist_id}","starred_url":"https://api.github.com/users/sauvainr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sauvainr/subscriptions","organizations_url":"https://api.github.com/users/sauvainr/orgs","repos_url":"https://api.github.com/users/sauvainr/repos","events_url":"https://api.github.com/users/sauvainr/events{/privacy}","received_events_url":"https://api.github.com/users/sauvainr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sauvainr/jQuery.Marquee","description":"jQuery plugin to scroll the text like the old traditional marquee","fork":true,"url":"https://api.github.com/repos/sauvainr/jQuery.Marquee","forks_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/forks","keys_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/teams","hooks_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/hooks","issue_events_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/issues/events{/number}","events_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/events","assignees_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/assignees{/user}","branches_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/branches{/branch}","tags_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/tags","blobs_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/git/refs{/sha}","trees_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/statuses/{sha}","languages_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/languages","stargazers_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/stargazers","contributors_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/contributors","subscribers_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/subscribers","subscription_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/subscription","commits_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/commits{/sha}","git_commits_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/git/commits{/sha}","comments_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/comments{/number}","issue_comment_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/issues/comments{/number}","contents_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/contents/{+path}","compare_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/merges","archive_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/downloads","issues_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/issues{/number}","pulls_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/pulls{/number}","milestones_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/milestones{/number}","notifications_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/labels{/name}","releases_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/releases{/id}","deployments_url":"https://api.github.com/repos/sauvainr/jQuery.Marquee/deployments","created_at":"2016-03-10T01:28:00Z","updated_at":"2016-03-10T01:28:01Z","pushed_at":"2016-03-10T01:52:47Z","git_url":"git://github.com/sauvainr/jQuery.Marquee.git","ssh_url":"git@github.com:sauvainr/jQuery.Marquee.git","clone_url":"https://github.com/sauvainr/jQuery.Marquee.git","svn_url":"https://github.com/sauvainr/jQuery.Marquee","homepage":"http://aamirafridi.com/jquery/jquery-marquee-plugin","size":145,"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":"aamirafridi:master","ref":"master","sha":"69948b1a3215165b1ad88de61ff6d8e957d37f38","user":{"login":"aamirafridi","id":55896,"avatar_url":"https://avatars.githubusercontent.com/u/55896?v=3","gravatar_id":"","url":"https://api.github.com/users/aamirafridi","html_url":"https://github.com/aamirafridi","followers_url":"https://api.github.com/users/aamirafridi/followers","following_url":"https://api.github.com/users/aamirafridi/following{/other_user}","gists_url":"https://api.github.com/users/aamirafridi/gists{/gist_id}","starred_url":"https://api.github.com/users/aamirafridi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aamirafridi/subscriptions","organizations_url":"https://api.github.com/users/aamirafridi/orgs","repos_url":"https://api.github.com/users/aamirafridi/repos","events_url":"https://api.github.com/users/aamirafridi/events{/privacy}","received_events_url":"https://api.github.com/users/aamirafridi/received_events","type":"User","site_admin":false},"repo":{"id":7560836,"name":"jQuery.Marquee","full_name":"aamirafridi/jQuery.Marquee","owner":{"login":"aamirafridi","id":55896,"avatar_url":"https://avatars.githubusercontent.com/u/55896?v=3","gravatar_id":"","url":"https://api.github.com/users/aamirafridi","html_url":"https://github.com/aamirafridi","followers_url":"https://api.github.com/users/aamirafridi/followers","following_url":"https://api.github.com/users/aamirafridi/following{/other_user}","gists_url":"https://api.github.com/users/aamirafridi/gists{/gist_id}","starred_url":"https://api.github.com/users/aamirafridi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aamirafridi/subscriptions","organizations_url":"https://api.github.com/users/aamirafridi/orgs","repos_url":"https://api.github.com/users/aamirafridi/repos","events_url":"https://api.github.com/users/aamirafridi/events{/privacy}","received_events_url":"https://api.github.com/users/aamirafridi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aamirafridi/jQuery.Marquee","description":"jQuery plugin to scroll the text like the old traditional marquee","fork":false,"url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee","forks_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/forks","keys_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/teams","hooks_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/hooks","issue_events_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/issues/events{/number}","events_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/events","assignees_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/assignees{/user}","branches_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/branches{/branch}","tags_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/tags","blobs_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/git/refs{/sha}","trees_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/statuses/{sha}","languages_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/languages","stargazers_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/stargazers","contributors_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/contributors","subscribers_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/subscribers","subscription_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/subscription","commits_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/commits{/sha}","git_commits_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/git/commits{/sha}","comments_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/comments{/number}","issue_comment_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/issues/comments{/number}","contents_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/contents/{+path}","compare_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/merges","archive_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/downloads","issues_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/issues{/number}","pulls_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls{/number}","milestones_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/milestones{/number}","notifications_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/labels{/name}","releases_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/releases{/id}","deployments_url":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/deployments","created_at":"2013-01-11T14:11:24Z","updated_at":"2016-03-08T14:15:01Z","pushed_at":"2016-03-10T10:52:41Z","git_url":"git://github.com/aamirafridi/jQuery.Marquee.git","ssh_url":"git@github.com:aamirafridi/jQuery.Marquee.git","clone_url":"https://github.com/aamirafridi/jQuery.Marquee.git","svn_url":"https://github.com/aamirafridi/jQuery.Marquee","homepage":"http://aamirafridi.com/jquery/jquery-marquee-plugin","size":156,"stargazers_count":318,"watchers_count":318,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"open_issues_count":23,"forks":114,"open_issues":23,"watchers":318,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/66"},"html":{"href":"https://github.com/aamirafridi/jQuery.Marquee/pull/66"},"issue":{"href":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/issues/66"},"comments":{"href":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/aamirafridi/jQuery.Marquee/statuses/dc39db1db639b506333b8e32eb11ee59d2366e3d"}}}}