{"action":"created","issue":{"url":"https://api.github.com/repos/canjs/can-fixture/issues/35","repository_url":"https://api.github.com/repos/canjs/can-fixture","labels_url":"https://api.github.com/repos/canjs/can-fixture/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/canjs/can-fixture/issues/35/comments","events_url":"https://api.github.com/repos/canjs/can-fixture/issues/35/events","html_url":"https://github.com/canjs/can-fixture/issues/35","id":156126400,"number":35,"title":"Examples not working on latest from npm","user":{"login":"BigAB","id":76821,"avatar_url":"https://avatars.githubusercontent.com/u/76821?v=3","gravatar_id":"","url":"https://api.github.com/users/BigAB","html_url":"https://github.com/BigAB","followers_url":"https://api.github.com/users/BigAB/followers","following_url":"https://api.github.com/users/BigAB/following{/other_user}","gists_url":"https://api.github.com/users/BigAB/gists{/gist_id}","starred_url":"https://api.github.com/users/BigAB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigAB/subscriptions","organizations_url":"https://api.github.com/users/BigAB/orgs","repos_url":"https://api.github.com/users/BigAB/repos","events_url":"https://api.github.com/users/BigAB/events{/privacy}","received_events_url":"https://api.github.com/users/BigAB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-21T23:27:10Z","updated_at":"2016-05-22T05:02:28Z","closed_at":null,"body":"The install from npm currently gives the version `0.4.0-pre.2`.\r\n\r\nWith that version the first  [**\"Basic Use\"**](https://github.com/canjs/can-fixture#basic-use) example from the README does not work:\r\n```javascript\r\nfixture({url: \"/service\", method: \"get\"}, function(request, response){\r\n  response({message: \"Hello World\"});\r\n})\r\n```\r\n\r\nThis appears to be because method does not match a subset, or something, because if I change `method` to `type` (the XHR property `method` like method) then it starts to work\r\n```javascript\r\nfixture({url: \"/service\", type: \"get\"}, function(request, response){\r\n  response({message: \"Hello World\"});\r\n})\r\n```\r\n\r\nNot sure if the fix should be updating the docs or treating method as a special value."},"comment":{"url":"https://api.github.com/repos/canjs/can-fixture/issues/comments/220814507","html_url":"https://github.com/canjs/can-fixture/issues/35#issuecomment-220814507","issue_url":"https://api.github.com/repos/canjs/can-fixture/issues/35","id":220814507,"user":{"login":"justinbmeyer","id":78602,"avatar_url":"https://avatars.githubusercontent.com/u/78602?v=3","gravatar_id":"","url":"https://api.github.com/users/justinbmeyer","html_url":"https://github.com/justinbmeyer","followers_url":"https://api.github.com/users/justinbmeyer/followers","following_url":"https://api.github.com/users/justinbmeyer/following{/other_user}","gists_url":"https://api.github.com/users/justinbmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/justinbmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinbmeyer/subscriptions","organizations_url":"https://api.github.com/users/justinbmeyer/orgs","repos_url":"https://api.github.com/users/justinbmeyer/repos","events_url":"https://api.github.com/users/justinbmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/justinbmeyer/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T05:02:28Z","updated_at":"2016-05-22T05:02:28Z","body":"Updating the docs. The example is an old one that worked against the jquery version. \n\nSent from my iPhone\n\n> On May 21, 2016, at 6:27 PM, Adam L Barrett <notifications@github.com> wrote:\n> \n> The install from npm currently gives the version 0.4.0-pre.2.\n> \n> With that version the first \"Basic Use\" example from the README does not work:\n> \n> fixture({url: \"/service\", method: \"get\"}, function(request, response){\n>   response({message: \"Hello World\"});\n> })\n> This appears to be because method does not match a subset, or something, because if I change method to type (the XHR property method like method) then it starts to work\n> \n> fixture({url: \"/service\", type: \"get\"}, function(request, response){\n>   response({message: \"Hello World\"});\n> })\n> Not sure if the fix should be updating the docs or treating method as a special value.\n> \n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub\n> \n"}}
{"actor":{"display_login":"justinbmeyer"}}