{"action":"closed","issue":{"url":"https://api.github.com/repos/AmpersandJS/ampersand-view-switcher/issues/1","labels_url":"https://api.github.com/repos/AmpersandJS/ampersand-view-switcher/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/AmpersandJS/ampersand-view-switcher/issues/1/comments","events_url":"https://api.github.com/repos/AmpersandJS/ampersand-view-switcher/issues/1/events","html_url":"https://github.com/AmpersandJS/ampersand-view-switcher/issues/1","id":38531618,"number":1,"title":"Docs need updating","user":{"login":"og2t","id":28712,"avatar_url":"https://avatars.githubusercontent.com/u/28712?v=3","gravatar_id":"","url":"https://api.github.com/users/og2t","html_url":"https://github.com/og2t","followers_url":"https://api.github.com/users/og2t/followers","following_url":"https://api.github.com/users/og2t/following{/other_user}","gists_url":"https://api.github.com/users/og2t/gists{/gist_id}","starred_url":"https://api.github.com/users/og2t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/og2t/subscriptions","organizations_url":"https://api.github.com/users/og2t/orgs","repos_url":"https://api.github.com/users/og2t/repos","events_url":"https://api.github.com/users/og2t/events{/privacy}","received_events_url":"https://api.github.com/users/og2t/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AmpersandJS/ampersand-view-switcher/labels/documentation","name":"documentation","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-07-23T14:02:05Z","updated_at":"2015-02-28T12:39:31Z","closed_at":"2015-02-28T12:39:31Z","body":"Hej!\r\n\r\nI've noticed the readme docs are a bit out of date – it seems the oldView and newView are no longer passed to the show() and hide() methods the way they used to ;-)\r\nFor example, the cb is not passed into show() and it can't be called. In hide() view is referenced but not passed. oldView in show() remains undefined.\r\n\r\nI am trying to guess how this module is supposed to work by trial and error ;-)\r\n\r\n"}}