{"action":"created","comment":{"url":"https://api.github.com/repos/zendesk/demo_apps/pulls/comments/26812321","id":26812321,"diff_hunk":"@@ -0,0 +1,43 @@\n+(function() {\n+  return {\n+    events: {\n+      // Framework Events\n+      'app.created':'checkLocalStorage', // Call 'checkLocalStorage' function below\n+      // Request Events (None)\n+      // DOM events\n+      'keyup #inputValueId': function(event){ // User clicked the 'enter'/'return' button so store value in localStorage\n+        if(event.keyCode === 13)\n+          return this.processInputValue();\n+      },\n+      'click .reset': 'resetValue' // Call 'resetValue' function below\n+    },\n+    checkLocalStorage: function () { // Look in localStorage for if value is present for 'exampleString'\n+        if (this.store('exampleString') === null) { // If no value","path":"localStorage_value_checker_sample_app/app.js","position":15,"original_position":15,"commit_id":"33f1628d25306428f095759213540a42409d9654","original_commit_id":"33f1628d25306428f095759213540a42409d9654","user":{"login":"jeremiahcurrier","id":4379219,"avatar_url":"https://avatars.githubusercontent.com/u/4379219?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremiahcurrier","html_url":"https://github.com/jeremiahcurrier","followers_url":"https://api.github.com/users/jeremiahcurrier/followers","following_url":"https://api.github.com/users/jeremiahcurrier/following{/other_user}","gists_url":"https://api.github.com/users/jeremiahcurrier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremiahcurrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremiahcurrier/subscriptions","organizations_url":"https://api.github.com/users/jeremiahcurrier/orgs","repos_url":"https://api.github.com/users/jeremiahcurrier/repos","events_url":"https://api.github.com/users/jeremiahcurrier/events{/privacy}","received_events_url":"https://api.github.com/users/jeremiahcurrier/received_events","type":"User","site_admin":false},"body":"For this being an educational app aimed at beginners/etc is why I'd included the comment \"If not value\" but for sure I'll get rid of it np","created_at":"2015-03-20T01:04:10Z","updated_at":"2015-03-20T01:04:10Z","html_url":"https://github.com/zendesk/demo_apps/pull/72#discussion_r26812321","pull_request_url":"https://api.github.com/repos/zendesk/demo_apps/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/zendesk/demo_apps/pulls/comments/26812321"},"html":{"href":"https://github.com/zendesk/demo_apps/pull/72#discussion_r26812321"},"pull_request":{"href":"https://api.github.com/repos/zendesk/demo_apps/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/zendesk/demo_apps/pulls/72","id":31471373,"html_url":"https://github.com/zendesk/demo_apps/pull/72","diff_url":"https://github.com/zendesk/demo_apps/pull/72.diff","patch_url":"https://github.com/zendesk/demo_apps/pull/72.patch","issue_url":"https://api.github.com/repos/zendesk/demo_apps/issues/72","number":72,"state":"open","locked":false,"title":"Added two example apps","user":{"login":"jeremiahcurrier","id":4379219,"avatar_url":"https://avatars.githubusercontent.com/u/4379219?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremiahcurrier","html_url":"https://github.com/jeremiahcurrier","followers_url":"https://api.github.com/users/jeremiahcurrier/followers","following_url":"https://api.github.com/users/jeremiahcurrier/following{/other_user}","gists_url":"https://api.github.com/users/jeremiahcurrier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremiahcurrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremiahcurrier/subscriptions","organizations_url":"https://api.github.com/users/jeremiahcurrier/orgs","repos_url":"https://api.github.com/users/jeremiahcurrier/repos","events_url":"https://api.github.com/users/jeremiahcurrier/events{/privacy}","received_events_url":"https://api.github.com/users/jeremiahcurrier/received_events","type":"User","site_admin":false},"body":":dancers:\r\n\r\nCC @maximeprades ","created_at":"2015-03-18T20:57:28Z","updated_at":"2015-03-20T01:04:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9f72e4d06baed60fe191e370277afcd7ad2617a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zendesk/demo_apps/pulls/72/commits","review_comments_url":"https://api.github.com/repos/zendesk/demo_apps/pulls/72/comments","review_comment_url":"https://api.github.com/repos/zendesk/demo_apps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zendesk/demo_apps/issues/72/comments","statuses_url":"https://api.github.com/repos/zendesk/demo_apps/statuses/33f1628d25306428f095759213540a42409d9654","head":{"label":"zendesk:jeremiah","ref":"jeremiah","sha":"33f1628d25306428f095759213540a42409d9654","user":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"repo":{"id":14788239,"name":"demo_apps","full_name":"zendesk/demo_apps","owner":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendesk/demo_apps","description":"","fork":false,"url":"https://api.github.com/repos/zendesk/demo_apps","forks_url":"https://api.github.com/repos/zendesk/demo_apps/forks","keys_url":"https://api.github.com/repos/zendesk/demo_apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendesk/demo_apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendesk/demo_apps/teams","hooks_url":"https://api.github.com/repos/zendesk/demo_apps/hooks","issue_events_url":"https://api.github.com/repos/zendesk/demo_apps/issues/events{/number}","events_url":"https://api.github.com/repos/zendesk/demo_apps/events","assignees_url":"https://api.github.com/repos/zendesk/demo_apps/assignees{/user}","branches_url":"https://api.github.com/repos/zendesk/demo_apps/branches{/branch}","tags_url":"https://api.github.com/repos/zendesk/demo_apps/tags","blobs_url":"https://api.github.com/repos/zendesk/demo_apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendesk/demo_apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendesk/demo_apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendesk/demo_apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendesk/demo_apps/statuses/{sha}","languages_url":"https://api.github.com/repos/zendesk/demo_apps/languages","stargazers_url":"https://api.github.com/repos/zendesk/demo_apps/stargazers","contributors_url":"https://api.github.com/repos/zendesk/demo_apps/contributors","subscribers_url":"https://api.github.com/repos/zendesk/demo_apps/subscribers","subscription_url":"https://api.github.com/repos/zendesk/demo_apps/subscription","commits_url":"https://api.github.com/repos/zendesk/demo_apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendesk/demo_apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendesk/demo_apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendesk/demo_apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendesk/demo_apps/contents/{+path}","compare_url":"https://api.github.com/repos/zendesk/demo_apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendesk/demo_apps/merges","archive_url":"https://api.github.com/repos/zendesk/demo_apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendesk/demo_apps/downloads","issues_url":"https://api.github.com/repos/zendesk/demo_apps/issues{/number}","pulls_url":"https://api.github.com/repos/zendesk/demo_apps/pulls{/number}","milestones_url":"https://api.github.com/repos/zendesk/demo_apps/milestones{/number}","notifications_url":"https://api.github.com/repos/zendesk/demo_apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendesk/demo_apps/labels{/name}","releases_url":"https://api.github.com/repos/zendesk/demo_apps/releases{/id}","created_at":"2013-11-28T22:56:01Z","updated_at":"2015-03-17T09:20:21Z","pushed_at":"2015-03-18T21:28:35Z","git_url":"git://github.com/zendesk/demo_apps.git","ssh_url":"git@github.com:zendesk/demo_apps.git","clone_url":"https://github.com/zendesk/demo_apps.git","svn_url":"https://github.com/zendesk/demo_apps","homepage":null,"size":5084,"stargazers_count":36,"watchers_count":36,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":3,"forks":65,"open_issues":3,"watchers":36,"default_branch":"master"}},"base":{"label":"zendesk:master","ref":"master","sha":"4ff736847b2f2a374d5151c4185a2d80e1070d0c","user":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"repo":{"id":14788239,"name":"demo_apps","full_name":"zendesk/demo_apps","owner":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendesk/demo_apps","description":"","fork":false,"url":"https://api.github.com/repos/zendesk/demo_apps","forks_url":"https://api.github.com/repos/zendesk/demo_apps/forks","keys_url":"https://api.github.com/repos/zendesk/demo_apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendesk/demo_apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendesk/demo_apps/teams","hooks_url":"https://api.github.com/repos/zendesk/demo_apps/hooks","issue_events_url":"https://api.github.com/repos/zendesk/demo_apps/issues/events{/number}","events_url":"https://api.github.com/repos/zendesk/demo_apps/events","assignees_url":"https://api.github.com/repos/zendesk/demo_apps/assignees{/user}","branches_url":"https://api.github.com/repos/zendesk/demo_apps/branches{/branch}","tags_url":"https://api.github.com/repos/zendesk/demo_apps/tags","blobs_url":"https://api.github.com/repos/zendesk/demo_apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendesk/demo_apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendesk/demo_apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendesk/demo_apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendesk/demo_apps/statuses/{sha}","languages_url":"https://api.github.com/repos/zendesk/demo_apps/languages","stargazers_url":"https://api.github.com/repos/zendesk/demo_apps/stargazers","contributors_url":"https://api.github.com/repos/zendesk/demo_apps/contributors","subscribers_url":"https://api.github.com/repos/zendesk/demo_apps/subscribers","subscription_url":"https://api.github.com/repos/zendesk/demo_apps/subscription","commits_url":"https://api.github.com/repos/zendesk/demo_apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendesk/demo_apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendesk/demo_apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendesk/demo_apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendesk/demo_apps/contents/{+path}","compare_url":"https://api.github.com/repos/zendesk/demo_apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendesk/demo_apps/merges","archive_url":"https://api.github.com/repos/zendesk/demo_apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendesk/demo_apps/downloads","issues_url":"https://api.github.com/repos/zendesk/demo_apps/issues{/number}","pulls_url":"https://api.github.com/repos/zendesk/demo_apps/pulls{/number}","milestones_url":"https://api.github.com/repos/zendesk/demo_apps/milestones{/number}","notifications_url":"https://api.github.com/repos/zendesk/demo_apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendesk/demo_apps/labels{/name}","releases_url":"https://api.github.com/repos/zendesk/demo_apps/releases{/id}","created_at":"2013-11-28T22:56:01Z","updated_at":"2015-03-17T09:20:21Z","pushed_at":"2015-03-18T21:28:35Z","git_url":"git://github.com/zendesk/demo_apps.git","ssh_url":"git@github.com:zendesk/demo_apps.git","clone_url":"https://github.com/zendesk/demo_apps.git","svn_url":"https://github.com/zendesk/demo_apps","homepage":null,"size":5084,"stargazers_count":36,"watchers_count":36,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":3,"forks":65,"open_issues":3,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zendesk/demo_apps/pulls/72"},"html":{"href":"https://github.com/zendesk/demo_apps/pull/72"},"issue":{"href":"https://api.github.com/repos/zendesk/demo_apps/issues/72"},"comments":{"href":"https://api.github.com/repos/zendesk/demo_apps/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/zendesk/demo_apps/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/zendesk/demo_apps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zendesk/demo_apps/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/zendesk/demo_apps/statuses/33f1628d25306428f095759213540a42409d9654"}}}}