{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/jquery/issues/2504","labels_url":"https://api.github.com/repos/jquery/jquery/issues/2504/labels{/name}","comments_url":"https://api.github.com/repos/jquery/jquery/issues/2504/comments","events_url":"https://api.github.com/repos/jquery/jquery/issues/2504/events","html_url":"https://github.com/jquery/jquery/pull/2504","id":97677695,"number":2504,"title":"Core: Support non-browser environments","user":{"login":"mzgol","id":1758366,"avatar_url":"https://avatars.githubusercontent.com/u/1758366?v=3","gravatar_id":"","url":"https://api.github.com/users/mzgol","html_url":"https://github.com/mzgol","followers_url":"https://api.github.com/users/mzgol/followers","following_url":"https://api.github.com/users/mzgol/following{/other_user}","gists_url":"https://api.github.com/users/mzgol/gists{/gist_id}","starred_url":"https://api.github.com/users/mzgol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzgol/subscriptions","organizations_url":"https://api.github.com/users/mzgol/orgs","repos_url":"https://api.github.com/users/mzgol/repos","events_url":"https://api.github.com/users/mzgol/events{/privacy}","received_events_url":"https://api.github.com/users/mzgol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jquery/jquery/labels/CLA:%20Valid","name":"CLA: Valid","color":"007700"},{"url":"https://api.github.com/repos/jquery/jquery/labels/Needs%20review","name":"Needs review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-28T11:02:51Z","updated_at":"2015-07-28T18:25:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jquery/jquery/pulls/2504","html_url":"https://github.com/jquery/jquery/pull/2504","diff_url":"https://github.com/jquery/jquery/pull/2504.diff","patch_url":"https://github.com/jquery/jquery/pull/2504.patch"},"body":"Fixes gh-2133\r\nFixes gh-2501\r\nCloses gh-2504\r\nRefs gh-1950\r\nRefs gh-1949\r\nRefs gh-2397\r\nRefs gh-1537\r\nRefs gh-2504\r\nRefs 842958e7aecd0d75a7ee9e2aaec83457701aa2f3\r\n\r\nSecond commit adds support for non-browser environments. Message of the first commit:\r\n\r\nCore:CSS: Attach test nodes to documentElement, not body\r\n\r\nAttaching test divs to document.documentElement instead of document.body\r\nused to cause issues in jQuery 1.x; jQuery Compat doesn't execute any tests\r\non document ready, though so it could be aligned with master.\r\n\r\nThis makes jQuery Compat support tests work correctly even if jQuery is\r\nincluded & used in head before body even exists - making it similar to\r\nthe master behavior.\r\n\r\nFixes gh-2502\r\n\r\nEDIT: BTW, this PR decreases the gzipped size by 5 bytes. ;)"},"comment":{"url":"https://api.github.com/repos/jquery/jquery/issues/comments/125703991","html_url":"https://github.com/jquery/jquery/pull/2504#issuecomment-125703991","issue_url":"https://api.github.com/repos/jquery/jquery/issues/2504","id":125703991,"user":{"login":"timmywil","id":192451,"avatar_url":"https://avatars.githubusercontent.com/u/192451?v=3","gravatar_id":"","url":"https://api.github.com/users/timmywil","html_url":"https://github.com/timmywil","followers_url":"https://api.github.com/users/timmywil/followers","following_url":"https://api.github.com/users/timmywil/following{/other_user}","gists_url":"https://api.github.com/users/timmywil/gists{/gist_id}","starred_url":"https://api.github.com/users/timmywil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmywil/subscriptions","organizations_url":"https://api.github.com/users/timmywil/orgs","repos_url":"https://api.github.com/users/timmywil/repos","events_url":"https://api.github.com/users/timmywil/events{/privacy}","received_events_url":"https://api.github.com/users/timmywil/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T18:25:46Z","updated_at":"2015-07-28T18:25:46Z","body":"> We may not get there, but I definitely don't want to invest effort in explicit divergence.\r\n\r\nAgreed."}}