{"action":"created","comment":{"url":"https://api.github.com/repos/szechyjs/language-arduino/pulls/comments/223190980","pull_request_review_id":162266977,"id":223190980,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzE5MDk4MA==","diff_hunk":"@@ -97,6 +100,21 @@\n   'Shift Out':\n     'prefix': 'shiftOut'\n     'body': 'shiftout(${1:dataPin}, ${2:clockPin}, ${3:bitOrder}, ${4:value});$5'\n+  'Switch':\n+    'prefix': 'switch'\n+    'body': \"\"\"\n+      switch (${1:variable}) {","path":"snippets/arduino.cson","position":17,"original_position":17,"commit_id":"ad81f698f063de58627dc5b71b5cdc5f9a84ebca","original_commit_id":"ad81f698f063de58627dc5b71b5cdc5f9a84ebca","user":{"login":"StaticRocket","id":35777938,"node_id":"MDQ6VXNlcjM1Nzc3OTM4","avatar_url":"https://avatars3.githubusercontent.com/u/35777938?v=4","gravatar_id":"","url":"https://api.github.com/users/StaticRocket","html_url":"https://github.com/StaticRocket","followers_url":"https://api.github.com/users/StaticRocket/followers","following_url":"https://api.github.com/users/StaticRocket/following{/other_user}","gists_url":"https://api.github.com/users/StaticRocket/gists{/gist_id}","starred_url":"https://api.github.com/users/StaticRocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StaticRocket/subscriptions","organizations_url":"https://api.github.com/users/StaticRocket/orgs","repos_url":"https://api.github.com/users/StaticRocket/repos","events_url":"https://api.github.com/users/StaticRocket/events{/privacy}","received_events_url":"https://api.github.com/users/StaticRocket/received_events","type":"User","site_admin":false},"body":"Or we could treat this package as an addition the the C++ language package and tell its snippets and syntax to bind to anything that uses the C++ grammar. I'll make a separate branch to test that and remove the switch statement in this PR.","created_at":"2018-10-06T19:02:44Z","updated_at":"2018-10-06T19:02:44Z","html_url":"https://github.com/szechyjs/language-arduino/pull/21#discussion_r223190980","pull_request_url":"https://api.github.com/repos/szechyjs/language-arduino/pulls/21","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/szechyjs/language-arduino/pulls/comments/223190980"},"html":{"href":"https://github.com/szechyjs/language-arduino/pull/21#discussion_r223190980"},"pull_request":{"href":"https://api.github.com/repos/szechyjs/language-arduino/pulls/21"}},"in_reply_to_id":223103278},"pull_request":{"url":"https://api.github.com/repos/szechyjs/language-arduino/pulls/21","id":220776663,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNzc2NjYz","html_url":"https://github.com/szechyjs/language-arduino/pull/21","diff_url":"https://github.com/szechyjs/language-arduino/pull/21.diff","patch_url":"https://github.com/szechyjs/language-arduino/pull/21.patch","issue_url":"https://api.github.com/repos/szechyjs/language-arduino/issues/21","number":21,"state":"open","locked":false,"title":"Updated .gitignore and added map and switch snippits","user":{"login":"StaticRocket","id":35777938,"node_id":"MDQ6VXNlcjM1Nzc3OTM4","avatar_url":"https://avatars3.githubusercontent.com/u/35777938?v=4","gravatar_id":"","url":"https://api.github.com/users/StaticRocket","html_url":"https://github.com/StaticRocket","followers_url":"https://api.github.com/users/StaticRocket/followers","following_url":"https://api.github.com/users/StaticRocket/following{/other_user}","gists_url":"https://api.github.com/users/StaticRocket/gists{/gist_id}","starred_url":"https://api.github.com/users/StaticRocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StaticRocket/subscriptions","organizations_url":"https://api.github.com/users/StaticRocket/orgs","repos_url":"https://api.github.com/users/StaticRocket/repos","events_url":"https://api.github.com/users/StaticRocket/events{/privacy}","received_events_url":"https://api.github.com/users/StaticRocket/received_events","type":"User","site_admin":false},"body":"- Adds switch and map snippets\r\n- Adds package-lock.json to the .gitignore so `apm install` isn't affected\r\n\r\nCloses #19 and closes #18","created_at":"2018-10-05T17:48:09Z","updated_at":"2018-10-06T19:02:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"078e1439c79c68c70e8ee3f413ff028f881b89f5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/szechyjs/language-arduino/pulls/21/commits","review_comments_url":"https://api.github.com/repos/szechyjs/language-arduino/pulls/21/comments","review_comment_url":"https://api.github.com/repos/szechyjs/language-arduino/pulls/comments{/number}","comments_url":"https://api.github.com/repos/szechyjs/language-arduino/issues/21/comments","statuses_url":"https://api.github.com/repos/szechyjs/language-arduino/statuses/ad81f698f063de58627dc5b71b5cdc5f9a84ebca","head":{"label":"StaticRocket:master","ref":"master","sha":"ad81f698f063de58627dc5b71b5cdc5f9a84ebca","user":{"login":"StaticRocket","id":35777938,"node_id":"MDQ6VXNlcjM1Nzc3OTM4","avatar_url":"https://avatars3.githubusercontent.com/u/35777938?v=4","gravatar_id":"","url":"https://api.github.com/users/StaticRocket","html_url":"https://github.com/StaticRocket","followers_url":"https://api.github.com/users/StaticRocket/followers","following_url":"https://api.github.com/users/StaticRocket/following{/other_user}","gists_url":"https://api.github.com/users/StaticRocket/gists{/gist_id}","starred_url":"https://api.github.com/users/StaticRocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StaticRocket/subscriptions","organizations_url":"https://api.github.com/users/StaticRocket/orgs","repos_url":"https://api.github.com/users/StaticRocket/repos","events_url":"https://api.github.com/users/StaticRocket/events{/privacy}","received_events_url":"https://api.github.com/users/StaticRocket/received_events","type":"User","site_admin":false},"repo":{"id":151751142,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE3NTExNDI=","name":"language-arduino","full_name":"StaticRocket/language-arduino","private":false,"owner":{"login":"StaticRocket","id":35777938,"node_id":"MDQ6VXNlcjM1Nzc3OTM4","avatar_url":"https://avatars3.githubusercontent.com/u/35777938?v=4","gravatar_id":"","url":"https://api.github.com/users/StaticRocket","html_url":"https://github.com/StaticRocket","followers_url":"https://api.github.com/users/StaticRocket/followers","following_url":"https://api.github.com/users/StaticRocket/following{/other_user}","gists_url":"https://api.github.com/users/StaticRocket/gists{/gist_id}","starred_url":"https://api.github.com/users/StaticRocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StaticRocket/subscriptions","organizations_url":"https://api.github.com/users/StaticRocket/orgs","repos_url":"https://api.github.com/users/StaticRocket/repos","events_url":"https://api.github.com/users/StaticRocket/events{/privacy}","received_events_url":"https://api.github.com/users/StaticRocket/received_events","type":"User","site_admin":false},"html_url":"https://github.com/StaticRocket/language-arduino","description":"Arduino support in Atom","fork":true,"url":"https://api.github.com/repos/StaticRocket/language-arduino","forks_url":"https://api.github.com/repos/StaticRocket/language-arduino/forks","keys_url":"https://api.github.com/repos/StaticRocket/language-arduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StaticRocket/language-arduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StaticRocket/language-arduino/teams","hooks_url":"https://api.github.com/repos/StaticRocket/language-arduino/hooks","issue_events_url":"https://api.github.com/repos/StaticRocket/language-arduino/issues/events{/number}","events_url":"https://api.github.com/repos/StaticRocket/language-arduino/events","assignees_url":"https://api.github.com/repos/StaticRocket/language-arduino/assignees{/user}","branches_url":"https://api.github.com/repos/StaticRocket/language-arduino/branches{/branch}","tags_url":"https://api.github.com/repos/StaticRocket/language-arduino/tags","blobs_url":"https://api.github.com/repos/StaticRocket/language-arduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StaticRocket/language-arduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StaticRocket/language-arduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/StaticRocket/language-arduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StaticRocket/language-arduino/statuses/{sha}","languages_url":"https://api.github.com/repos/StaticRocket/language-arduino/languages","stargazers_url":"https://api.github.com/repos/StaticRocket/language-arduino/stargazers","contributors_url":"https://api.github.com/repos/StaticRocket/language-arduino/contributors","subscribers_url":"https://api.github.com/repos/StaticRocket/language-arduino/subscribers","subscription_url":"https://api.github.com/repos/StaticRocket/language-arduino/subscription","commits_url":"https://api.github.com/repos/StaticRocket/language-arduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/StaticRocket/language-arduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/StaticRocket/language-arduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/StaticRocket/language-arduino/issues/comments{/number}","contents_url":"https://api.github.com/repos/StaticRocket/language-arduino/contents/{+path}","compare_url":"https://api.github.com/repos/StaticRocket/language-arduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StaticRocket/language-arduino/merges","archive_url":"https://api.github.com/repos/StaticRocket/language-arduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StaticRocket/language-arduino/downloads","issues_url":"https://api.github.com/repos/StaticRocket/language-arduino/issues{/number}","pulls_url":"https://api.github.com/repos/StaticRocket/language-arduino/pulls{/number}","milestones_url":"https://api.github.com/repos/StaticRocket/language-arduino/milestones{/number}","notifications_url":"https://api.github.com/repos/StaticRocket/language-arduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StaticRocket/language-arduino/labels{/name}","releases_url":"https://api.github.com/repos/StaticRocket/language-arduino/releases{/id}","deployments_url":"https://api.github.com/repos/StaticRocket/language-arduino/deployments","created_at":"2018-10-05T16:47:58Z","updated_at":"2018-10-05T17:43:58Z","pushed_at":"2018-10-05T17:43:57Z","git_url":"git://github.com/StaticRocket/language-arduino.git","ssh_url":"git@github.com:StaticRocket/language-arduino.git","clone_url":"https://github.com/StaticRocket/language-arduino.git","svn_url":"https://github.com/StaticRocket/language-arduino","homepage":"https://atom.io/packages/language-arduino","size":17,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"szechyjs:master","ref":"master","sha":"a81bf03cc6defe705e0e16ba8e3a061c0192c725","user":{"login":"szechyjs","id":847739,"node_id":"MDQ6VXNlcjg0NzczOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/847739?v=4","gravatar_id":"","url":"https://api.github.com/users/szechyjs","html_url":"https://github.com/szechyjs","followers_url":"https://api.github.com/users/szechyjs/followers","following_url":"https://api.github.com/users/szechyjs/following{/other_user}","gists_url":"https://api.github.com/users/szechyjs/gists{/gist_id}","starred_url":"https://api.github.com/users/szechyjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szechyjs/subscriptions","organizations_url":"https://api.github.com/users/szechyjs/orgs","repos_url":"https://api.github.com/users/szechyjs/repos","events_url":"https://api.github.com/users/szechyjs/events{/privacy}","received_events_url":"https://api.github.com/users/szechyjs/received_events","type":"User","site_admin":false},"repo":{"id":17496896,"node_id":"MDEwOlJlcG9zaXRvcnkxNzQ5Njg5Ng==","name":"language-arduino","full_name":"szechyjs/language-arduino","private":false,"owner":{"login":"szechyjs","id":847739,"node_id":"MDQ6VXNlcjg0NzczOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/847739?v=4","gravatar_id":"","url":"https://api.github.com/users/szechyjs","html_url":"https://github.com/szechyjs","followers_url":"https://api.github.com/users/szechyjs/followers","following_url":"https://api.github.com/users/szechyjs/following{/other_user}","gists_url":"https://api.github.com/users/szechyjs/gists{/gist_id}","starred_url":"https://api.github.com/users/szechyjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szechyjs/subscriptions","organizations_url":"https://api.github.com/users/szechyjs/orgs","repos_url":"https://api.github.com/users/szechyjs/repos","events_url":"https://api.github.com/users/szechyjs/events{/privacy}","received_events_url":"https://api.github.com/users/szechyjs/received_events","type":"User","site_admin":false},"html_url":"https://github.com/szechyjs/language-arduino","description":"Arduino support in Atom","fork":false,"url":"https://api.github.com/repos/szechyjs/language-arduino","forks_url":"https://api.github.com/repos/szechyjs/language-arduino/forks","keys_url":"https://api.github.com/repos/szechyjs/language-arduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/szechyjs/language-arduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/szechyjs/language-arduino/teams","hooks_url":"https://api.github.com/repos/szechyjs/language-arduino/hooks","issue_events_url":"https://api.github.com/repos/szechyjs/language-arduino/issues/events{/number}","events_url":"https://api.github.com/repos/szechyjs/language-arduino/events","assignees_url":"https://api.github.com/repos/szechyjs/language-arduino/assignees{/user}","branches_url":"https://api.github.com/repos/szechyjs/language-arduino/branches{/branch}","tags_url":"https://api.github.com/repos/szechyjs/language-arduino/tags","blobs_url":"https://api.github.com/repos/szechyjs/language-arduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/szechyjs/language-arduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/szechyjs/language-arduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/szechyjs/language-arduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/szechyjs/language-arduino/statuses/{sha}","languages_url":"https://api.github.com/repos/szechyjs/language-arduino/languages","stargazers_url":"https://api.github.com/repos/szechyjs/language-arduino/stargazers","contributors_url":"https://api.github.com/repos/szechyjs/language-arduino/contributors","subscribers_url":"https://api.github.com/repos/szechyjs/language-arduino/subscribers","subscription_url":"https://api.github.com/repos/szechyjs/language-arduino/subscription","commits_url":"https://api.github.com/repos/szechyjs/language-arduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/szechyjs/language-arduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/szechyjs/language-arduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/szechyjs/language-arduino/issues/comments{/number}","contents_url":"https://api.github.com/repos/szechyjs/language-arduino/contents/{+path}","compare_url":"https://api.github.com/repos/szechyjs/language-arduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/szechyjs/language-arduino/merges","archive_url":"https://api.github.com/repos/szechyjs/language-arduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/szechyjs/language-arduino/downloads","issues_url":"https://api.github.com/repos/szechyjs/language-arduino/issues{/number}","pulls_url":"https://api.github.com/repos/szechyjs/language-arduino/pulls{/number}","milestones_url":"https://api.github.com/repos/szechyjs/language-arduino/milestones{/number}","notifications_url":"https://api.github.com/repos/szechyjs/language-arduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/szechyjs/language-arduino/labels{/name}","releases_url":"https://api.github.com/repos/szechyjs/language-arduino/releases{/id}","deployments_url":"https://api.github.com/repos/szechyjs/language-arduino/deployments","created_at":"2014-03-06T23:51:53Z","updated_at":"2018-10-05T16:44:15Z","pushed_at":"2018-10-05T17:48:10Z","git_url":"git://github.com/szechyjs/language-arduino.git","ssh_url":"git@github.com:szechyjs/language-arduino.git","clone_url":"https://github.com/szechyjs/language-arduino.git","svn_url":"https://github.com/szechyjs/language-arduino","homepage":"https://atom.io/packages/language-arduino","size":16,"stargazers_count":19,"watchers_count":19,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":13,"open_issues":4,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/szechyjs/language-arduino/pulls/21"},"html":{"href":"https://github.com/szechyjs/language-arduino/pull/21"},"issue":{"href":"https://api.github.com/repos/szechyjs/language-arduino/issues/21"},"comments":{"href":"https://api.github.com/repos/szechyjs/language-arduino/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/szechyjs/language-arduino/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/szechyjs/language-arduino/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/szechyjs/language-arduino/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/szechyjs/language-arduino/statuses/ad81f698f063de58627dc5b71b5cdc5f9a84ebca"}},"author_association":"NONE"}}
{"actor":{"display_login":"StaticRocket"}}