{"action":"created","issue":{"url":"https://api.github.com/repos/t4t5/sweetalert/issues/141","labels_url":"https://api.github.com/repos/t4t5/sweetalert/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/t4t5/sweetalert/issues/141/comments","events_url":"https://api.github.com/repos/t4t5/sweetalert/issues/141/events","html_url":"https://github.com/t4t5/sweetalert/pull/141","id":46189526,"number":141,"title":"Dispatch event when initialized","user":{"login":"mazlix","id":519731,"avatar_url":"https://avatars.githubusercontent.com/u/519731?v=3","gravatar_id":"","url":"https://api.github.com/users/mazlix","html_url":"https://github.com/mazlix","followers_url":"https://api.github.com/users/mazlix/followers","following_url":"https://api.github.com/users/mazlix/following{/other_user}","gists_url":"https://api.github.com/users/mazlix/gists{/gist_id}","starred_url":"https://api.github.com/users/mazlix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazlix/subscriptions","organizations_url":"https://api.github.com/users/mazlix/orgs","repos_url":"https://api.github.com/users/mazlix/repos","events_url":"https://api.github.com/users/mazlix/events{/privacy}","received_events_url":"https://api.github.com/users/mazlix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-18T22:34:25Z","updated_at":"2015-03-11T15:07:38Z","closed_at":"2015-03-09T15:58:13Z","pull_request":{"url":"https://api.github.com/repos/t4t5/sweetalert/pulls/141","html_url":"https://github.com/t4t5/sweetalert/pull/141","diff_url":"https://github.com/t4t5/sweetalert/pull/141.diff","patch_url":"https://github.com/t4t5/sweetalert/pull/141.patch"},"body":"Regarding https://github.com/t4t5/sweetalert/issues/124\r\nMade an event \"swal:init\" that you can listen to in case you want to display the modal on document load, this way you can just put it in \r\ndocument.body.addEventListener(\"swal:init\", function() { swal(\"Head\", \"Body\") })"},"comment":{"url":"https://api.github.com/repos/t4t5/sweetalert/issues/comments/78281562","html_url":"https://github.com/t4t5/sweetalert/pull/141#issuecomment-78281562","issue_url":"https://api.github.com/repos/t4t5/sweetalert/issues/141","id":78281562,"user":{"login":"prateekvarma","id":9058135,"avatar_url":"https://avatars.githubusercontent.com/u/9058135?v=3","gravatar_id":"","url":"https://api.github.com/users/prateekvarma","html_url":"https://github.com/prateekvarma","followers_url":"https://api.github.com/users/prateekvarma/followers","following_url":"https://api.github.com/users/prateekvarma/following{/other_user}","gists_url":"https://api.github.com/users/prateekvarma/gists{/gist_id}","starred_url":"https://api.github.com/users/prateekvarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prateekvarma/subscriptions","organizations_url":"https://api.github.com/users/prateekvarma/orgs","repos_url":"https://api.github.com/users/prateekvarma/repos","events_url":"https://api.github.com/users/prateekvarma/events{/privacy}","received_events_url":"https://api.github.com/users/prateekvarma/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T15:07:38Z","updated_at":"2015-03-11T15:07:38Z","body":"Whats happening is - the sweetalert2.min.js file, and the sweetalert2.css files both miss one 'dot' in the repository, otherwise it works like a charm...Cheers!"}}