{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/18089","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/18089/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/18089/comments","events_url":"https://api.github.com/repos/angular/angular/issues/18089/events","html_url":"https://github.com/angular/angular/issues/18089","id":242622222,"number":18089,"title":"Docs: add scripts to test if polyfill is required","user":{"login":"dawidgarus","id":6207659,"avatar_url":"https://avatars0.githubusercontent.com/u/6207659?v=4","gravatar_id":"","url":"https://api.github.com/users/dawidgarus","html_url":"https://github.com/dawidgarus","followers_url":"https://api.github.com/users/dawidgarus/followers","following_url":"https://api.github.com/users/dawidgarus/following{/other_user}","gists_url":"https://api.github.com/users/dawidgarus/gists{/gist_id}","starred_url":"https://api.github.com/users/dawidgarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawidgarus/subscriptions","organizations_url":"https://api.github.com/users/dawidgarus/orgs","repos_url":"https://api.github.com/users/dawidgarus/repos","events_url":"https://api.github.com/users/dawidgarus/events{/privacy}","received_events_url":"https://api.github.com/users/dawidgarus/received_events","type":"User","site_admin":false},"labels":[{"id":175085143,"url":"https://api.github.com/repos/angular/angular/labels/comp:%20docs","name":"comp: docs","color":"c7def8","default":false},{"id":783348257,"url":"https://api.github.com/repos/angular/angular/labels/comp:%20examples","name":"comp: examples","color":"c5def5","default":false},{"id":375496864,"url":"https://api.github.com/repos/angular/angular/labels/freq1:%20low","name":"freq1: low","color":"fbca04","default":false},{"id":375497956,"url":"https://api.github.com/repos/angular/angular/labels/severity2:%20inconvenient","name":"severity2: inconvenient","color":"0052cc","default":false},{"id":783342987,"url":"https://api.github.com/repos/angular/angular/labels/state:%20needs%20eng%20input","name":"state: needs eng input","color":"8fefd7","default":false},{"id":130606845,"url":"https://api.github.com/repos/angular/angular/labels/type:%20feature","name":"type: feature","color":"EEEEEE","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/82","html_url":"https://github.com/angular/angular/milestone/82","labels_url":"https://api.github.com/repos/angular/angular/milestones/82/labels","id":3045967,"number":82,"title":"Backlog","description":"Milestone for triaged issues that have not yet been scheduled for resolution.","creator":{"login":"IgorMinar","id":216296,"avatar_url":"https://avatars3.githubusercontent.com/u/216296?v=4","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"open_issues":1760,"closed_issues":132,"state":"open","created_at":"2018-01-18T16:52:20Z","updated_at":"2018-05-16T12:53:57Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-07-13T08:23:04Z","updated_at":"2018-05-16T12:53:57Z","closed_at":"2018-05-16T12:53:57Z","author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n<!-- Check one of the following options with \"x\" -->\r\n<pre><code>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Feature request\r\n[x] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n</code></pre>\r\n\r\n## Current behavior\r\nIn the browser support guide, it's only mention what polyfills are needed for each browser.\r\n\r\n## Expected behavior\r\nAlong the needed polyfill, guide should contain a simple script to test if the polyfill is needed, example for Intl:\r\n```js\r\nwindow.Intl && window.Intl.NumberFormat && window.Intl.DateTimeFormat\r\n```\r\n\r\n## Minimal reproduction of the problem with instructions\r\nN/A\r\n\r\n## What is the motivation / use case for changing the behavior?\r\nWe can use this scripts to determine if polyfill needs to be loaded, so the app overall would load faster. Angular team knows exactly what features are needed and could provide a test that won't fail in some odd cases, like when feature is partially supported in browser."},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/389507811","html_url":"https://github.com/angular/angular/issues/18089#issuecomment-389507811","issue_url":"https://api.github.com/repos/angular/angular/issues/18089","id":389507811,"user":{"login":"brandonroberts","id":42211,"avatar_url":"https://avatars3.githubusercontent.com/u/42211?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonroberts","html_url":"https://github.com/brandonroberts","followers_url":"https://api.github.com/users/brandonroberts/followers","following_url":"https://api.github.com/users/brandonroberts/following{/other_user}","gists_url":"https://api.github.com/users/brandonroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonroberts/subscriptions","organizations_url":"https://api.github.com/users/brandonroberts/orgs","repos_url":"https://api.github.com/users/brandonroberts/repos","events_url":"https://api.github.com/users/brandonroberts/events{/privacy}","received_events_url":"https://api.github.com/users/brandonroberts/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T12:53:57Z","updated_at":"2018-05-16T12:53:57Z","author_association":"CONTRIBUTOR","body":"Since Angular V5, we no longer rely on `Intl` for i18n, so this issue is no longer relevant moving forward."}}
{"actor":{"display_login":"brandonroberts"}}