{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/8467","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/8467/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/8467/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/8467/events","html_url":"https://github.com/webpack/webpack/pull/8467","id":387994639,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MzYxMzA5","number":8467,"title":"Use document.head instead of getElementsByTagName('head')","user":{"login":"Connormiha","id":4091305,"node_id":"MDQ6VXNlcjQwOTEzMDU=","avatar_url":"https://avatars1.githubusercontent.com/u/4091305?v=4","gravatar_id":"","url":"https://api.github.com/users/Connormiha","html_url":"https://github.com/Connormiha","followers_url":"https://api.github.com/users/Connormiha/followers","following_url":"https://api.github.com/users/Connormiha/following{/other_user}","gists_url":"https://api.github.com/users/Connormiha/gists{/gist_id}","starred_url":"https://api.github.com/users/Connormiha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connormiha/subscriptions","organizations_url":"https://api.github.com/users/Connormiha/orgs","repos_url":"https://api.github.com/users/Connormiha/repos","events_url":"https://api.github.com/users/Connormiha/events{/privacy}","received_events_url":"https://api.github.com/users/Connormiha/received_events","type":"User","site_admin":false},"labels":[{"id":572817354,"node_id":"MDU6TGFiZWw1NzI4MTczNTQ=","url":"https://api.github.com/repos/webpack/webpack/labels/PR:%20unreviewed","name":"PR: unreviewed","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T23:43:12Z","updated_at":"2018-12-05T23:43:15Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/webpack/webpack/pulls/8467","html_url":"https://github.com/webpack/webpack/pull/8467","diff_url":"https://github.com/webpack/webpack/pull/8467.diff","patch_url":"https://github.com/webpack/webpack/pull/8467.patch"},"body":"Instead of `document.getElementsByTagName('head')[0]` we can use `document.head`. It works in IE9.\r\nhttps://developer.mozilla.org/ru/docs/Web/API/Document/head\r\n<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->\r\n<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->\r\n<!-- Try to link to an open issue for more information. -->\r\n\r\n\r\n<!-- In addition to that please answer these questions: -->\r\n\r\n**What kind of change does this PR introduce?**\r\nRefactoring\r\n<!-- E.g. a bugfix, feature, refactoring, build related change, etc… -->\r\n\r\n**Did you add tests for your changes?**\r\nNo\r\n<!-- Note that we won't merge your changes if you don't add tests -->\r\n\r\n**Does this PR introduce a breaking change?**\r\nIt doesn't work in IE8.\r\n<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->\r\n\r\n**What needs to be documented once your changes are merged?**\r\n\r\n<!-- List all the information that needs to be added to the documentation after merge -->\r\n<!-- When your changes are merged you will be asked to contribute this to the documentation -->\r\n"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/444694212","html_url":"https://github.com/webpack/webpack/pull/8467#issuecomment-444694212","issue_url":"https://api.github.com/repos/webpack/webpack/issues/8467","id":444694212,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDY5NDIxMg==","user":{"login":"webpack-bot","id":26676291,"node_id":"MDQ6VXNlcjI2Njc2Mjkx","avatar_url":"https://avatars0.githubusercontent.com/u/26676291?v=4","gravatar_id":"","url":"https://api.github.com/users/webpack-bot","html_url":"https://github.com/webpack-bot","followers_url":"https://api.github.com/users/webpack-bot/followers","following_url":"https://api.github.com/users/webpack-bot/following{/other_user}","gists_url":"https://api.github.com/users/webpack-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack-bot/subscriptions","organizations_url":"https://api.github.com/users/webpack-bot/orgs","repos_url":"https://api.github.com/users/webpack-bot/repos","events_url":"https://api.github.com/users/webpack-bot/events{/privacy}","received_events_url":"https://api.github.com/users/webpack-bot/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T23:43:15Z","updated_at":"2018-12-05T23:43:15Z","author_association":"NONE","body":"<!-- identifier: admin-actions -->\n\n*For maintainers only:*\n\n* [ ] <!-- document --> This need to be documented (issue in webpack/webpack.js.org will be filed when merged)"}}
{"actor":{"display_login":"webpack-bot"}}