{"action":"created","issue":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/628","labels_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/628/comments","events_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/628/events","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/628","id":115110073,"number":628,"title":"hs.application.kill and hs.application.kill9 documentation error?","user":{"login":"jelen-dev","id":14996897,"avatar_url":"https://avatars.githubusercontent.com/u/14996897?v=3","gravatar_id":"","url":"https://api.github.com/users/jelen-dev","html_url":"https://github.com/jelen-dev","followers_url":"https://api.github.com/users/jelen-dev/followers","following_url":"https://api.github.com/users/jelen-dev/following{/other_user}","gists_url":"https://api.github.com/users/jelen-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/jelen-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jelen-dev/subscriptions","organizations_url":"https://api.github.com/users/jelen-dev/orgs","repos_url":"https://api.github.com/users/jelen-dev/repos","events_url":"https://api.github.com/users/jelen-dev/events{/privacy}","received_events_url":"https://api.github.com/users/jelen-dev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T17:51:40Z","updated_at":"2015-11-05T17:33:15Z","closed_at":null,"body":"Hi, so awesome API! As someone described already, I am like kid in candy shop. My MAC can now do magic! \r\n\r\nI was using kill and kill9 methods lately like this:\r\n\r\nlocal appHyperSwitch = hs.application.find(\"hyperswitch\")\r\nif(appHyperSwitch ~= nil) then\r\n    appHyperSwitch.kill9(appHyperSwitch)\r\nend\r\n\r\nIn documentation kill and kill9 should have no parameters but the .lua console gave me error if I didnt use it like this."},"comment":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/comments/154131820","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/628#issuecomment-154131820","issue_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/628","id":154131820,"user":{"login":"lowne","id":6718755,"avatar_url":"https://avatars.githubusercontent.com/u/6718755?v=3","gravatar_id":"","url":"https://api.github.com/users/lowne","html_url":"https://github.com/lowne","followers_url":"https://api.github.com/users/lowne/followers","following_url":"https://api.github.com/users/lowne/following{/other_user}","gists_url":"https://api.github.com/users/lowne/gists{/gist_id}","starred_url":"https://api.github.com/users/lowne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowne/subscriptions","organizations_url":"https://api.github.com/users/lowne/orgs","repos_url":"https://api.github.com/users/lowne/repos","events_url":"https://api.github.com/users/lowne/events{/privacy}","received_events_url":"https://api.github.com/users/lowne/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T17:33:15Z","updated_at":"2015-11-05T17:33:15Z","body":"See http://lua-users.org/wiki/ColonForMethodCall - these methods have no parameter because you're expected to use the colon syntactic sugar on an application object: `appHyperSwitch:kill9()`"}}