{"action":"created","issue":{"url":"https://api.github.com/repos/dolox/fallback/issues/46","labels_url":"https://api.github.com/repos/dolox/fallback/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/dolox/fallback/issues/46/comments","events_url":"https://api.github.com/repos/dolox/fallback/issues/46/events","html_url":"https://github.com/dolox/fallback/issues/46","id":124694155,"number":46,"title":"fallback.min.js asynchronous set up","user":{"login":"TheGreatAlexander","id":1947524,"avatar_url":"https://avatars.githubusercontent.com/u/1947524?v=3","gravatar_id":"","url":"https://api.github.com/users/TheGreatAlexander","html_url":"https://github.com/TheGreatAlexander","followers_url":"https://api.github.com/users/TheGreatAlexander/followers","following_url":"https://api.github.com/users/TheGreatAlexander/following{/other_user}","gists_url":"https://api.github.com/users/TheGreatAlexander/gists{/gist_id}","starred_url":"https://api.github.com/users/TheGreatAlexander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheGreatAlexander/subscriptions","organizations_url":"https://api.github.com/users/TheGreatAlexander/orgs","repos_url":"https://api.github.com/users/TheGreatAlexander/repos","events_url":"https://api.github.com/users/TheGreatAlexander/events{/privacy}","received_events_url":"https://api.github.com/users/TheGreatAlexander/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-04T04:20:45Z","updated_at":"2016-01-05T20:49:10Z","closed_at":"2016-01-04T04:37:37Z","body":"When I do \r\n\r\nscript src=\"/fallback.min.js\"></script>\r\nscript>\r\nMy Script Block\r\n/script>\r\n\r\nIt blocks resources of the page.\r\n![screen shot 2016-01-03 at 10 11 58 pm](https://cloud.githubusercontent.com/assets/1947524/12083431/06db6e0c-b269-11e5-8245-e48e872258a6.png)\r\n\r\n\r\n\r\nIf I set it up asynchronously script src=\"/fallback.min.js\" async></script>, then I get an error stating that function fallback Uncaught ReferenceError: fallback is not defined.\r\n![screen shot 2016-01-03 at 10 19 50 pm](https://cloud.githubusercontent.com/assets/1947524/12083391/29f24b50-b268-11e5-9353-ae66138ba42a.png)\r\nHow am I supposed to set this up so that the fallback.min.js downloads asynchronously and I do not get an uncaught reference error?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dolox/fallback/issues/comments/169129480","html_url":"https://github.com/dolox/fallback/issues/46#issuecomment-169129480","issue_url":"https://api.github.com/repos/dolox/fallback/issues/46","id":169129480,"user":{"login":"TheGreatAlexander","id":1947524,"avatar_url":"https://avatars.githubusercontent.com/u/1947524?v=3","gravatar_id":"","url":"https://api.github.com/users/TheGreatAlexander","html_url":"https://github.com/TheGreatAlexander","followers_url":"https://api.github.com/users/TheGreatAlexander/followers","following_url":"https://api.github.com/users/TheGreatAlexander/following{/other_user}","gists_url":"https://api.github.com/users/TheGreatAlexander/gists{/gist_id}","starred_url":"https://api.github.com/users/TheGreatAlexander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheGreatAlexander/subscriptions","organizations_url":"https://api.github.com/users/TheGreatAlexander/orgs","repos_url":"https://api.github.com/users/TheGreatAlexander/repos","events_url":"https://api.github.com/users/TheGreatAlexander/events{/privacy}","received_events_url":"https://api.github.com/users/TheGreatAlexander/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T20:49:10Z","updated_at":"2016-01-05T20:49:10Z","body":"Thank you!  I had two window.onloads on two functions so I had to just keep one."}}