{"action":"created","issue":{"url":"https://api.github.com/repos/codecourse/notify/issues/1","labels_url":"https://api.github.com/repos/codecourse/notify/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/codecourse/notify/issues/1/comments","events_url":"https://api.github.com/repos/codecourse/notify/issues/1/events","html_url":"https://github.com/codecourse/notify/pull/1","id":107352948,"number":1,"title":"Add a default for retreiving options","user":{"login":"maxverbeek","id":8481950,"avatar_url":"https://avatars.githubusercontent.com/u/8481950?v=3","gravatar_id":"","url":"https://api.github.com/users/maxverbeek","html_url":"https://github.com/maxverbeek","followers_url":"https://api.github.com/users/maxverbeek/followers","following_url":"https://api.github.com/users/maxverbeek/following{/other_user}","gists_url":"https://api.github.com/users/maxverbeek/gists{/gist_id}","starred_url":"https://api.github.com/users/maxverbeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxverbeek/subscriptions","organizations_url":"https://api.github.com/users/maxverbeek/orgs","repos_url":"https://api.github.com/users/maxverbeek/repos","events_url":"https://api.github.com/users/maxverbeek/events{/privacy}","received_events_url":"https://api.github.com/users/maxverbeek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-19T20:01:09Z","updated_at":"2015-09-24T20:39:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/codecourse/notify/pulls/1","html_url":"https://github.com/codecourse/notify/pull/1","diff_url":"https://github.com/codecourse/notify/pull/1.diff","patch_url":"https://github.com/codecourse/notify/pull/1.patch"},"body":"Just added an optional \"default\" parameter, so that developers can write shorter syntax.\r\n\r\nExample:\r\n\r\n```javascript\r\n@if (notify()->ready())\r\n<script>\r\n        swal({\r\n            title: \"{!! notify()->message() !!}\",\r\n            text: \"{!! notify()->option('text', 'Welcome back!') !!}\",\r\n            type: \"{{ notify()->type() }}\",\r\n            timer: {{ notify()->option('timer', 3000) }},\r\n            showConfirmButton: false\r\n        });\r\n    </script>\r\n@endif\r\n```"},"comment":{"url":"https://api.github.com/repos/codecourse/notify/issues/comments/143044435","html_url":"https://github.com/codecourse/notify/pull/1#issuecomment-143044435","issue_url":"https://api.github.com/repos/codecourse/notify/issues/1","id":143044435,"user":{"login":"alexgarrett","id":1692996,"avatar_url":"https://avatars.githubusercontent.com/u/1692996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgarrett","html_url":"https://github.com/alexgarrett","followers_url":"https://api.github.com/users/alexgarrett/followers","following_url":"https://api.github.com/users/alexgarrett/following{/other_user}","gists_url":"https://api.github.com/users/alexgarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgarrett/subscriptions","organizations_url":"https://api.github.com/users/alexgarrett/orgs","repos_url":"https://api.github.com/users/alexgarrett/repos","events_url":"https://api.github.com/users/alexgarrett/events{/privacy}","received_events_url":"https://api.github.com/users/alexgarrett/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T20:39:07Z","updated_at":"2015-09-24T20:39:07Z","body":":+1: "}}