{"action":"created","comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/63721625","id":63721625,"diff_hunk":"@@ -0,0 +1,32 @@\n+(function (env) {\n+    \"use strict\";\n+    env.ddg_spice_syntax = function(api_result) {\n+        if (!api_result || api_result.error || api_result.length == 0) {\n+            return Spice.failed('syntax');\n+        }\n+        var query = DDG.get_query().replace(\"syntax\", '');\n+        Spice.add({\n+            id: \"syntax\",","path":"share/spice/syntax/syntax.js","position":9,"original_position":9,"commit_id":"6a649b61932ca60d8913a4f511c9d806dde3cd85","original_commit_id":"6a649b61932ca60d8913a4f511c9d806dde3cd85","user":{"login":"GuiltyDolphin","id":8598426,"avatar_url":"https://avatars.githubusercontent.com/u/8598426?v=3","gravatar_id":"","url":"https://api.github.com/users/GuiltyDolphin","html_url":"https://github.com/GuiltyDolphin","followers_url":"https://api.github.com/users/GuiltyDolphin/followers","following_url":"https://api.github.com/users/GuiltyDolphin/following{/other_user}","gists_url":"https://api.github.com/users/GuiltyDolphin/gists{/gist_id}","starred_url":"https://api.github.com/users/GuiltyDolphin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuiltyDolphin/subscriptions","organizations_url":"https://api.github.com/users/GuiltyDolphin/orgs","repos_url":"https://api.github.com/users/GuiltyDolphin/repos","events_url":"https://api.github.com/users/GuiltyDolphin/events{/privacy}","received_events_url":"https://api.github.com/users/GuiltyDolphin/received_events","type":"User","site_admin":false},"body":"@anthonyn60 Heere!\r\n\r\n@zekiel Might we not also have to update the share directory?","created_at":"2016-05-18T15:09:42Z","updated_at":"2016-05-18T15:09:42Z","html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2725#discussion_r63721625","pull_request_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2725","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/63721625"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2725#discussion_r63721625"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2725"}}},"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2725","id":68774303,"html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2725","diff_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2725.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2725.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2725","number":2725,"state":"open","locked":false,"title":"New Syntax Spice","user":{"login":"anthonyn60","id":6720451,"avatar_url":"https://avatars.githubusercontent.com/u/6720451?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyn60","html_url":"https://github.com/anthonyn60","followers_url":"https://api.github.com/users/anthonyn60/followers","following_url":"https://api.github.com/users/anthonyn60/following{/other_user}","gists_url":"https://api.github.com/users/anthonyn60/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyn60/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyn60/subscriptions","organizations_url":"https://api.github.com/users/anthonyn60/orgs","repos_url":"https://api.github.com/users/anthonyn60/repos","events_url":"https://api.github.com/users/anthonyn60/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyn60/received_events","type":"User","site_admin":false},"body":"###### What does your Pull Request do (check all that apply)?\r\n\r\n- [x] New Instant Answer: Syntax \r\n\r\nLets you look up syntax for your programming language\r\n\r\n###### Description of changes\r\n\r\n- Adds syntax lookup to DuckDuckGo IA\r\n\r\n###### People to notify\r\n@moollaza \r\n\r\n---\r\n\r\nInstant Answer Page: https://duck.co/ia/view/syntax\r\n\r\n[Maintainer](http://docs.duckduckhack.com/maintaining/guidelines.html): @anthonyn60\r\n","created_at":"2016-05-03T21:01:47Z","updated_at":"2016-05-18T15:09:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28b5dc95ca3a58d3d908b278fc28dffea5da15e4","assignee":{"login":"GuiltyDolphin","id":8598426,"avatar_url":"https://avatars.githubusercontent.com/u/8598426?v=3","gravatar_id":"","url":"https://api.github.com/users/GuiltyDolphin","html_url":"https://github.com/GuiltyDolphin","followers_url":"https://api.github.com/users/GuiltyDolphin/followers","following_url":"https://api.github.com/users/GuiltyDolphin/following{/other_user}","gists_url":"https://api.github.com/users/GuiltyDolphin/gists{/gist_id}","starred_url":"https://api.github.com/users/GuiltyDolphin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuiltyDolphin/subscriptions","organizations_url":"https://api.github.com/users/GuiltyDolphin/orgs","repos_url":"https://api.github.com/users/GuiltyDolphin/repos","events_url":"https://api.github.com/users/GuiltyDolphin/events{/privacy}","received_events_url":"https://api.github.com/users/GuiltyDolphin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2725/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2725/comments","review_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2725/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/6a649b61932ca60d8913a4f511c9d806dde3cd85","head":{"label":"anthonyn60:syntax","ref":"syntax","sha":"6a649b61932ca60d8913a4f511c9d806dde3cd85","user":{"login":"anthonyn60","id":6720451,"avatar_url":"https://avatars.githubusercontent.com/u/6720451?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyn60","html_url":"https://github.com/anthonyn60","followers_url":"https://api.github.com/users/anthonyn60/followers","following_url":"https://api.github.com/users/anthonyn60/following{/other_user}","gists_url":"https://api.github.com/users/anthonyn60/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyn60/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyn60/subscriptions","organizations_url":"https://api.github.com/users/anthonyn60/orgs","repos_url":"https://api.github.com/users/anthonyn60/repos","events_url":"https://api.github.com/users/anthonyn60/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyn60/received_events","type":"User","site_admin":false},"repo":{"id":55933140,"name":"zeroclickinfo-spice","full_name":"anthonyn60/zeroclickinfo-spice","owner":{"login":"anthonyn60","id":6720451,"avatar_url":"https://avatars.githubusercontent.com/u/6720451?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyn60","html_url":"https://github.com/anthonyn60","followers_url":"https://api.github.com/users/anthonyn60/followers","following_url":"https://api.github.com/users/anthonyn60/following{/other_user}","gists_url":"https://api.github.com/users/anthonyn60/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyn60/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyn60/subscriptions","organizations_url":"https://api.github.com/users/anthonyn60/orgs","repos_url":"https://api.github.com/users/anthonyn60/repos","events_url":"https://api.github.com/users/anthonyn60/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyn60/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anthonyn60/zeroclickinfo-spice","description":"DuckDuckGo Instant Answers based on JavaScript (JSON) APIs","fork":true,"url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice","forks_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/forks","keys_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/teams","hooks_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/hooks","issue_events_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/issues/events{/number}","events_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/events","assignees_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/assignees{/user}","branches_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/branches{/branch}","tags_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/tags","blobs_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/git/refs{/sha}","trees_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/statuses/{sha}","languages_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/languages","stargazers_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/stargazers","contributors_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/contributors","subscribers_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/subscribers","subscription_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/subscription","commits_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/commits{/sha}","git_commits_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/git/commits{/sha}","comments_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/comments{/number}","issue_comment_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/issues/comments{/number}","contents_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/contents/{+path}","compare_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/merges","archive_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/downloads","issues_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/issues{/number}","pulls_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/pulls{/number}","milestones_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/milestones{/number}","notifications_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/labels{/name}","releases_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/releases{/id}","deployments_url":"https://api.github.com/repos/anthonyn60/zeroclickinfo-spice/deployments","created_at":"2016-04-11T01:42:59Z","updated_at":"2016-04-11T01:43:04Z","pushed_at":"2016-05-13T21:10:30Z","git_url":"git://github.com/anthonyn60/zeroclickinfo-spice.git","ssh_url":"git@github.com:anthonyn60/zeroclickinfo-spice.git","clone_url":"https://github.com/anthonyn60/zeroclickinfo-spice.git","svn_url":"https://github.com/anthonyn60/zeroclickinfo-spice","homepage":"http://duckduckhack.com/","size":19107,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"duckduckgo:master","ref":"master","sha":"50ae792ad2884f6d0d1841e95a52efa262b1a581","user":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"repo":{"id":1997671,"name":"zeroclickinfo-spice","full_name":"duckduckgo/zeroclickinfo-spice","owner":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/duckduckgo/zeroclickinfo-spice","description":"DuckDuckGo Instant Answers based on JavaScript (JSON) APIs","fork":false,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice","forks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/forks","keys_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/teams","hooks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/hooks","issue_events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/events{/number}","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/events","assignees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/assignees{/user}","branches_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/branches{/branch}","tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/tags","blobs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/refs{/sha}","trees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/{sha}","languages_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/languages","stargazers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/stargazers","contributors_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/contributors","subscribers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/subscribers","subscription_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/subscription","commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/commits{/sha}","git_commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/commits{/sha}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/comments{/number}","issue_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/comments{/number}","contents_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/contents/{+path}","compare_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/merges","archive_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/downloads","issues_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues{/number}","pulls_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls{/number}","milestones_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/milestones{/number}","notifications_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/labels{/name}","releases_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/releases{/id}","deployments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/deployments","created_at":"2011-07-04T22:08:37Z","updated_at":"2016-05-17T08:19:26Z","pushed_at":"2016-05-16T03:09:36Z","git_url":"git://github.com/duckduckgo/zeroclickinfo-spice.git","ssh_url":"git@github.com:duckduckgo/zeroclickinfo-spice.git","clone_url":"https://github.com/duckduckgo/zeroclickinfo-spice.git","svn_url":"https://github.com/duckduckgo/zeroclickinfo-spice","homepage":"http://duckduckhack.com/","size":27893,"stargazers_count":328,"watchers_count":328,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":886,"mirror_url":null,"open_issues_count":195,"forks":886,"open_issues":195,"watchers":328,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2725"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2725"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2725"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2725/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2725/comments"},"review_comment":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2725/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/6a649b61932ca60d8913a4f511c9d806dde3cd85"}}}}