{"action":"opened","issue":{"url":"https://api.github.com/repos/jasmine/jasmine-ajax/issues/110","labels_url":"https://api.github.com/repos/jasmine/jasmine-ajax/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/jasmine/jasmine-ajax/issues/110/comments","events_url":"https://api.github.com/repos/jasmine/jasmine-ajax/issues/110/events","html_url":"https://github.com/jasmine/jasmine-ajax/issues/110","id":72736254,"number":110,"title":"How to use when injected into head instead of referenced with a <script> tag?","user":{"login":"georgeu2000","id":794632,"avatar_url":"https://avatars.githubusercontent.com/u/794632?v=3","gravatar_id":"","url":"https://api.github.com/users/georgeu2000","html_url":"https://github.com/georgeu2000","followers_url":"https://api.github.com/users/georgeu2000/followers","following_url":"https://api.github.com/users/georgeu2000/following{/other_user}","gists_url":"https://api.github.com/users/georgeu2000/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeu2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeu2000/subscriptions","organizations_url":"https://api.github.com/users/georgeu2000/orgs","repos_url":"https://api.github.com/users/georgeu2000/repos","events_url":"https://api.github.com/users/georgeu2000/events{/privacy}","received_events_url":"https://api.github.com/users/georgeu2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-03T02:44:22Z","updated_at":"2015-05-03T02:44:22Z","closed_at":null,"body":"I am writing a Jasmine spec runner for Capybara, and injecting the Jasmine code directly into document head, instead of referencing it with `<script>` tags.\r\n\r\nThis works fine for Jasmine, but jasmine-ajax raises `getJasmineRequireObj' was used before it was defined.` error. I wonder if there is a good way to use jasmine-ajax without `<script>` tags? Perhaps by using `document.ready()` instead?"}}