{"action":"created","issue":{"url":"https://api.github.com/repos/najaxjs/najax/issues/42","repository_url":"https://api.github.com/repos/najaxjs/najax","labels_url":"https://api.github.com/repos/najaxjs/najax/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/najaxjs/najax/issues/42/comments","events_url":"https://api.github.com/repos/najaxjs/najax/issues/42/events","html_url":"https://github.com/najaxjs/najax/pull/42","id":159300325,"number":42,"title":"Method should default to \"GET\" if not specified (Fix #41)","user":{"login":"avindra","id":126848,"avatar_url":"https://avatars.githubusercontent.com/u/126848?v=3","gravatar_id":"","url":"https://api.github.com/users/avindra","html_url":"https://github.com/avindra","followers_url":"https://api.github.com/users/avindra/followers","following_url":"https://api.github.com/users/avindra/following{/other_user}","gists_url":"https://api.github.com/users/avindra/gists{/gist_id}","starred_url":"https://api.github.com/users/avindra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avindra/subscriptions","organizations_url":"https://api.github.com/users/avindra/orgs","repos_url":"https://api.github.com/users/avindra/repos","events_url":"https://api.github.com/users/avindra/events{/privacy}","received_events_url":"https://api.github.com/users/avindra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-08T23:37:51Z","updated_at":"2016-06-09T13:28:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/najaxjs/najax/pulls/42","html_url":"https://github.com/najaxjs/najax/pull/42","diff_url":"https://github.com/najaxjs/najax/pull/42.diff","patch_url":"https://github.com/najaxjs/najax/pull/42.patch"},"body":"The wrong lodash method was being used. While researching #41, I discovered that [the intent of this library was to default to `GET`](https://github.com/najaxjs/najax/blob/2caeb5437dc78476de5a86b90157f8836051fcbb/lib/najax.js#L15), but [_.extend / _.assign was being used to parse options](http://stackoverflow.com/a/24610079/270302), which left `method` `undefined`.\r\n\r\nThis PR fixes that and adds a test to ensure it doesn't break again."},"comment":{"url":"https://api.github.com/repos/najaxjs/najax/issues/comments/224894123","html_url":"https://github.com/najaxjs/najax/pull/42#issuecomment-224894123","issue_url":"https://api.github.com/repos/najaxjs/najax/issues/42","id":224894123,"user":{"login":"avindra","id":126848,"avatar_url":"https://avatars.githubusercontent.com/u/126848?v=3","gravatar_id":"","url":"https://api.github.com/users/avindra","html_url":"https://github.com/avindra","followers_url":"https://api.github.com/users/avindra/followers","following_url":"https://api.github.com/users/avindra/following{/other_user}","gists_url":"https://api.github.com/users/avindra/gists{/gist_id}","starred_url":"https://api.github.com/users/avindra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avindra/subscriptions","organizations_url":"https://api.github.com/users/avindra/orgs","repos_url":"https://api.github.com/users/avindra/repos","events_url":"https://api.github.com/users/avindra/events{/privacy}","received_events_url":"https://api.github.com/users/avindra/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T13:28:28Z","updated_at":"2016-06-09T13:28:28Z","body":"Good call. Now we can revert back to `_.extend`. I updated the PR with the `if` statement and added more tests."}}
{"actor":{"display_login":"avindra"}}