{"action":"opened","issue":{"url":"https://api.github.com/repos/colinrds/CodeSnippet/issues/10","repository_url":"https://api.github.com/repos/colinrds/CodeSnippet","labels_url":"https://api.github.com/repos/colinrds/CodeSnippet/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/colinrds/CodeSnippet/issues/10/comments","events_url":"https://api.github.com/repos/colinrds/CodeSnippet/issues/10/events","html_url":"https://github.com/colinrds/CodeSnippet/issues/10","id":251399226,"number":10,"title":"jQuery遍历替换图片高清分辨率","user":{"login":"colinrds","id":29515335,"avatar_url":"https://avatars2.githubusercontent.com/u/29515335?v=4","gravatar_id":"","url":"https://api.github.com/users/colinrds","html_url":"https://github.com/colinrds","followers_url":"https://api.github.com/users/colinrds/followers","following_url":"https://api.github.com/users/colinrds/following{/other_user}","gists_url":"https://api.github.com/users/colinrds/gists{/gist_id}","starred_url":"https://api.github.com/users/colinrds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinrds/subscriptions","organizations_url":"https://api.github.com/users/colinrds/orgs","repos_url":"https://api.github.com/users/colinrds/repos","events_url":"https://api.github.com/users/colinrds/events{/privacy}","received_events_url":"https://api.github.com/users/colinrds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-19T04:16:31Z","updated_at":"2017-08-19T04:16:31Z","closed_at":null,"body":"```javascript\r\n$(document).ready(function(){\r\n    if (window.devicePixelRatio > 1) {\r\n        var lowresImages = $('img');\r\n \r\n        images.each(function(i) {\r\n            var lowres = $(this).attr('src');\r\n            var highres = lowres.replace(\".\", \"@2x.\");\r\n            $(this).attr('src', highres);\r\n        });\r\n    }\r\n});\r\n```"}}
{"actor":{"display_login":"colinrds"}}