{"action":"created","issue":{"url":"https://api.github.com/repos/frontend/toolbox-reader/issues/18","repository_url":"https://api.github.com/repos/frontend/toolbox-reader","labels_url":"https://api.github.com/repos/frontend/toolbox-reader/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/frontend/toolbox-reader/issues/18/comments","events_url":"https://api.github.com/repos/frontend/toolbox-reader/issues/18/events","html_url":"https://github.com/frontend/toolbox-reader/issues/18","id":250529660,"node_id":"MDU6SXNzdWUyNTA1Mjk2NjA=","number":18,"title":"Add includes polyfill for IE11","user":{"login":"Yago","id":2025924,"node_id":"MDQ6VXNlcjIwMjU5MjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2025924?v=4","gravatar_id":"","url":"https://api.github.com/users/Yago","html_url":"https://github.com/Yago","followers_url":"https://api.github.com/users/Yago/followers","following_url":"https://api.github.com/users/Yago/following{/other_user}","gists_url":"https://api.github.com/users/Yago/gists{/gist_id}","starred_url":"https://api.github.com/users/Yago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yago/subscriptions","organizations_url":"https://api.github.com/users/Yago/orgs","repos_url":"https://api.github.com/users/Yago/repos","events_url":"https://api.github.com/users/Yago/events{/privacy}","received_events_url":"https://api.github.com/users/Yago/received_events","type":"User","site_admin":false},"labels":[{"id":598742157,"node_id":"MDU6TGFiZWw1OTg3NDIxNTc=","url":"https://api.github.com/repos/frontend/toolbox-reader/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/frontend/toolbox-reader/milestones/1","html_url":"https://github.com/frontend/toolbox-reader/milestone/1","labels_url":"https://api.github.com/repos/frontend/toolbox-reader/milestones/1/labels","id":2703967,"node_id":"MDk6TWlsZXN0b25lMjcwMzk2Nw==","number":1,"title":"V1","description":"","creator":{"login":"Yago","id":2025924,"node_id":"MDQ6VXNlcjIwMjU5MjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2025924?v=4","gravatar_id":"","url":"https://api.github.com/users/Yago","html_url":"https://github.com/Yago","followers_url":"https://api.github.com/users/Yago/followers","following_url":"https://api.github.com/users/Yago/following{/other_user}","gists_url":"https://api.github.com/users/Yago/gists{/gist_id}","starred_url":"https://api.github.com/users/Yago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yago/subscriptions","organizations_url":"https://api.github.com/users/Yago/orgs","repos_url":"https://api.github.com/users/Yago/repos","events_url":"https://api.github.com/users/Yago/events{/privacy}","received_events_url":"https://api.github.com/users/Yago/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":6,"state":"open","created_at":"2017-08-16T05:49:53Z","updated_at":"2017-11-09T12:59:35Z","due_on":"2017-09-15T07:00:00Z","closed_at":null},"comments":3,"created_at":"2017-08-16T07:01:02Z","updated_at":"2018-06-07T09:41:31Z","closed_at":null,"author_association":"MEMBER","body":"Add the following Polyfill for `String.includes` : \r\n\r\n```javascript\r\nif ( !String.prototype.includes ) {\r\n  String.prototype.includes = function(search, start) {\r\n    'use strict';\r\n    if (typeof start !== 'number') {\r\n      start = 0;\r\n    } \r\n\r\n    if (start + search.length > this.length) {\r\n      return false;\r\n    } else {\r\n      return this.indexOf(search,start) !== -1;\r\n    }\r\n  };\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/frontend/toolbox-reader/issues/comments/395359288","html_url":"https://github.com/frontend/toolbox-reader/issues/18#issuecomment-395359288","issue_url":"https://api.github.com/repos/frontend/toolbox-reader/issues/18","id":395359288,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTM1OTI4OA==","user":{"login":"dmrty","id":1964104,"node_id":"MDQ6VXNlcjE5NjQxMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1964104?v=4","gravatar_id":"","url":"https://api.github.com/users/dmrty","html_url":"https://github.com/dmrty","followers_url":"https://api.github.com/users/dmrty/followers","following_url":"https://api.github.com/users/dmrty/following{/other_user}","gists_url":"https://api.github.com/users/dmrty/gists{/gist_id}","starred_url":"https://api.github.com/users/dmrty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmrty/subscriptions","organizations_url":"https://api.github.com/users/dmrty/orgs","repos_url":"https://api.github.com/users/dmrty/repos","events_url":"https://api.github.com/users/dmrty/events{/privacy}","received_events_url":"https://api.github.com/users/dmrty/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T09:41:31Z","updated_at":"2018-06-07T09:41:31Z","author_association":"NONE","body":"Correct @gido,  `Array.prototype.includes` is needed as well.\r\nUsed at least at the following locations : \r\n* `src/views/Doc/Doc.js`\r\n\r\n```html\r\n<script src=\"https://cdn.polyfill.io/v2/polyfill.js?features=String.prototype.includes,Array.prototype.includes,Array.prototype.find\"></script>\r\n```\r\nsolves the problem."}}
{"actor":{"display_login":"dmrty"}}