{"action":"opened","issue":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/21029","repository_url":"https://api.github.com/repos/twbs/bootstrap","labels_url":"https://api.github.com/repos/twbs/bootstrap/issues/21029/labels{/name}","comments_url":"https://api.github.com/repos/twbs/bootstrap/issues/21029/comments","events_url":"https://api.github.com/repos/twbs/bootstrap/issues/21029/events","html_url":"https://github.com/twbs/bootstrap/issues/21029","id":185755335,"number":21029,"title":"Support <script defer>","user":{"login":"saturdaywalkers","id":8264869,"avatar_url":"https://avatars.githubusercontent.com/u/8264869?v=3","gravatar_id":"","url":"https://api.github.com/users/saturdaywalkers","html_url":"https://github.com/saturdaywalkers","followers_url":"https://api.github.com/users/saturdaywalkers/followers","following_url":"https://api.github.com/users/saturdaywalkers/following{/other_user}","gists_url":"https://api.github.com/users/saturdaywalkers/gists{/gist_id}","starred_url":"https://api.github.com/users/saturdaywalkers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saturdaywalkers/subscriptions","organizations_url":"https://api.github.com/users/saturdaywalkers/orgs","repos_url":"https://api.github.com/users/saturdaywalkers/repos","events_url":"https://api.github.com/users/saturdaywalkers/events{/privacy}","received_events_url":"https://api.github.com/users/saturdaywalkers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-27T19:12:20Z","updated_at":"2016-10-27T19:12:20Z","closed_at":null,"body":"--\r\n<script defer src=\"jquery.js\">\r\n<script defer src=\"bootstrap.js\">\r\n<script defer src=\"my-stuff.js\">\r\n--\r\n\r\nEither support, or recommend using defer.\r\n\r\nThis should make pages faster to load, as the js is fetched async, not serially, then executed in order at the end.\r\n\r\n\"defer\" is safe to use in IE 10+ (see https://github.com/h5bp/lazyweb-requests/issues/42 and caniuse)\r\n\r\nCorrect usage  seems to be \"defer\", **not** \"async defer\".\r\n\r\nI use it happily with Bootstrap 3. NB: It may cause issues with js and  'document ready' times, e.g. some ajax-created tabs that used data-toggle tags now have to be .show()'ed instead.    \r\n\r\n"}}
{"actor":{"display_login":"saturdaywalkers"}}