{"action":"opened","issue":{"url":"https://api.github.com/repos/awsdocs/aws-lambda-developer-guide/issues/15","repository_url":"https://api.github.com/repos/awsdocs/aws-lambda-developer-guide","labels_url":"https://api.github.com/repos/awsdocs/aws-lambda-developer-guide/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/awsdocs/aws-lambda-developer-guide/issues/15/comments","events_url":"https://api.github.com/repos/awsdocs/aws-lambda-developer-guide/issues/15/events","html_url":"https://github.com/awsdocs/aws-lambda-developer-guide/issues/15","id":306299078,"number":15,"title":"light nit: correct style for js","user":{"login":"stopachka","id":984574,"avatar_url":"https://avatars0.githubusercontent.com/u/984574?v=4","gravatar_id":"","url":"https://api.github.com/users/stopachka","html_url":"https://github.com/stopachka","followers_url":"https://api.github.com/users/stopachka/followers","following_url":"https://api.github.com/users/stopachka/following{/other_user}","gists_url":"https://api.github.com/users/stopachka/gists{/gist_id}","starred_url":"https://api.github.com/users/stopachka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stopachka/subscriptions","organizations_url":"https://api.github.com/users/stopachka/orgs","repos_url":"https://api.github.com/users/stopachka/repos","events_url":"https://api.github.com/users/stopachka/events{/privacy}","received_events_url":"https://api.github.com/users/stopachka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-19T00:02:36Z","updated_at":"2018-03-19T00:02:36Z","closed_at":null,"author_association":"NONE","body":"In js, the name are camelCase, and there is no space between function invocation:\r\n\r\n```\r\nexports.myHandler = function(event, context, callback) {\r\n\tvar foo = event.foo;\r\n\tvar bar = event.bar;\r\n\tvar result = myLambdaFunction(foo, bar);\r\n \r\n\tcallback(null, result);\r\n}\r\n \r\nfunction myLambdaFunction (foo, bar) {\r\n\t// myLambdaFunction logic here\r\n}\r\n```\r\n\r\nI am not sure if this is standard throughout the docs, so did not push a PR, but would be nice to keep it similar. "}}
{"actor":{"display_login":"stopachka"}}