{"action":"created","issue":{"url":"https://api.github.com/repos/aframevr/aframe/issues/3587","repository_url":"https://api.github.com/repos/aframevr/aframe","labels_url":"https://api.github.com/repos/aframevr/aframe/issues/3587/labels{/name}","comments_url":"https://api.github.com/repos/aframevr/aframe/issues/3587/comments","events_url":"https://api.github.com/repos/aframevr/aframe/issues/3587/events","html_url":"https://github.com/aframevr/aframe/issues/3587","id":324307342,"number":3587,"title":"Script at top vs script at bottom?","user":{"login":"greggman","id":234804,"avatar_url":"https://avatars2.githubusercontent.com/u/234804?v=4","gravatar_id":"","url":"https://api.github.com/users/greggman","html_url":"https://github.com/greggman","followers_url":"https://api.github.com/users/greggman/followers","following_url":"https://api.github.com/users/greggman/following{/other_user}","gists_url":"https://api.github.com/users/greggman/gists{/gist_id}","starred_url":"https://api.github.com/users/greggman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greggman/subscriptions","organizations_url":"https://api.github.com/users/greggman/orgs","repos_url":"https://api.github.com/users/greggman/repos","events_url":"https://api.github.com/users/greggman/events{/privacy}","received_events_url":"https://api.github.com/users/greggman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-18T07:56:08Z","updated_at":"2018-05-21T14:14:53Z","closed_at":"2018-05-21T05:45:08Z","author_association":"NONE","body":"**Description:**\r\n\r\nWhen I put the aframe script at the bottom I get this message\r\n\r\n> A-Frame:warn Put the A-Frame <script> tag in the <head> of the HTML *before* the scene to ensure everything for A-Frame is properly registered before they are used from HTML. \r\naframe.min.js:26:633\r\n\r\n- A-Frame Version: 0.8.0 (Date 2018-03-11, Commit #82934b02)\r\n- Platform / Device: N/A\r\n- Reproducible Code Snippet or URL: N/A\r\n\r\nWhat is really the issue here? It seems to work at the bottom. I'd think a-frame would scan the DOM on startup. Is there an example of a concrete issue that putting the script at the top solves? Just trying to both make sure it's not voodoo that it should be at the top and also understand the issues for my own knowledge of custom elements."},"comment":{"url":"https://api.github.com/repos/aframevr/aframe/issues/comments/390666397","html_url":"https://github.com/aframevr/aframe/issues/3587#issuecomment-390666397","issue_url":"https://api.github.com/repos/aframevr/aframe/issues/3587","id":390666397,"user":{"login":"greggman","id":234804,"avatar_url":"https://avatars2.githubusercontent.com/u/234804?v=4","gravatar_id":"","url":"https://api.github.com/users/greggman","html_url":"https://github.com/greggman","followers_url":"https://api.github.com/users/greggman/followers","following_url":"https://api.github.com/users/greggman/following{/other_user}","gists_url":"https://api.github.com/users/greggman/gists{/gist_id}","starred_url":"https://api.github.com/users/greggman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greggman/subscriptions","organizations_url":"https://api.github.com/users/greggman/orgs","repos_url":"https://api.github.com/users/greggman/repos","events_url":"https://api.github.com/users/greggman/events{/privacy}","received_events_url":"https://api.github.com/users/greggman/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T14:14:53Z","updated_at":"2018-05-21T14:14:53Z","author_association":"NONE","body":"Hmm, ok, well, putting at the bottom works just fine so I think maybe it's not doing what you think it's doing.\r\n\r\nIt would be good to know a concrete reason why I needs to be at the top vs just voodoo since it's working just fine at the bottom.\r\n\r\nhttp://greggman.github.io/doodles/test/aframe-script-at-bottom/aframe-script-at-bottom.html"}}
{"actor":{"display_login":"greggman"}}