{"action":"closed","issue":{"url":"https://api.github.com/repos/anywhichway/tlx/issues/12","repository_url":"https://api.github.com/repos/anywhichway/tlx","labels_url":"https://api.github.com/repos/anywhichway/tlx/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/anywhichway/tlx/issues/12/comments","events_url":"https://api.github.com/repos/anywhichway/tlx/issues/12/events","html_url":"https://github.com/anywhichway/tlx/issues/12","id":394214162,"node_id":"MDU6SXNzdWUzOTQyMTQxNjI=","number":12,"title":"router() documentation and get url part without args","user":{"login":"pwFoo","id":333408,"node_id":"MDQ6VXNlcjMzMzQwOA==","avatar_url":"https://avatars0.githubusercontent.com/u/333408?v=4","gravatar_id":"","url":"https://api.github.com/users/pwFoo","html_url":"https://github.com/pwFoo","followers_url":"https://api.github.com/users/pwFoo/followers","following_url":"https://api.github.com/users/pwFoo/following{/other_user}","gists_url":"https://api.github.com/users/pwFoo/gists{/gist_id}","starred_url":"https://api.github.com/users/pwFoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwFoo/subscriptions","organizations_url":"https://api.github.com/users/pwFoo/orgs","repos_url":"https://api.github.com/users/pwFoo/repos","events_url":"https://api.github.com/users/pwFoo/events{/privacy}","received_events_url":"https://api.github.com/users/pwFoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-26T17:59:28Z","updated_at":"2018-12-27T15:17:31Z","closed_at":"2018-12-27T15:17:31Z","author_association":"NONE","body":"Hi @anywhichway \r\n\r\nI think you have to update the readme about router event object?\r\nhttps://github.com/anywhichway/tlx#function-tlxrouterobject-routes\r\n\r\nI think instead of `const view = this.target.view;` it should be `const view = event.target.view;`?\r\nWith `this` I get an error. `event` seems to work.\r\n\r\n\r\nIs there a simple way to get the URL part without params?\r\nI get the full address with \r\n```\r\nevent.target.href\r\n```"}}
{"actor":{"display_login":"anywhichway"}}