{"action":"created","comment":{"url":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/comments/61688921","id":61688921,"diff_hunk":"@@ -21,7 +21,8 @@ var homeJSLocal = {\n   clearSelectAreaButton: undefined,\n   detailViewState: false,\n   waitingDialog: waitingDialog,\n-  globalInit: false\n+  globalInit: false, // this serves as the function of notifying the global initialization has been done.\n+  on: false // It act as kind of mutual exclusion to allow only one thread to acquire the loading dialog box.","path":"static/js/home.js","position":null,"original_position":6,"commit_id":"01617b59bf54fa658aee4f6bc51a7fd2fe459247","original_commit_id":"01617b59bf54fa658aee4f6bc51a7fd2fe459247","user":{"login":"wx1988","id":5590961,"avatar_url":"https://avatars.githubusercontent.com/u/5590961?v=3","gravatar_id":"","url":"https://api.github.com/users/wx1988","html_url":"https://github.com/wx1988","followers_url":"https://api.github.com/users/wx1988/followers","following_url":"https://api.github.com/users/wx1988/following{/other_user}","gists_url":"https://api.github.com/users/wx1988/gists{/gist_id}","starred_url":"https://api.github.com/users/wx1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wx1988/subscriptions","organizations_url":"https://api.github.com/users/wx1988/orgs","repos_url":"https://api.github.com/users/wx1988/repos","events_url":"https://api.github.com/users/wx1988/events{/privacy}","received_events_url":"https://api.github.com/users/wx1988/received_events","type":"User","site_admin":false},"body":"The variable name on is too general, suggest renaming it to be more specific. such as mutexLoadingDialog","created_at":"2016-05-01T16:03:36Z","updated_at":"2016-05-01T16:03:36Z","html_url":"https://github.com/wx1988/hcc_taaa/pull/52#discussion_r61688921","pull_request_url":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/comments/61688921"},"html":{"href":"https://github.com/wx1988/hcc_taaa/pull/52#discussion_r61688921"},"pull_request":{"href":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/52","id":68453969,"html_url":"https://github.com/wx1988/hcc_taaa/pull/52","diff_url":"https://github.com/wx1988/hcc_taaa/pull/52.diff","patch_url":"https://github.com/wx1988/hcc_taaa/pull/52.patch","issue_url":"https://api.github.com/repos/wx1988/hcc_taaa/issues/52","number":52,"state":"open","locked":false,"title":"Feedback loader. Issue number 44. Gives feedback to user that something is happening in background and should wait.","user":{"login":"singhsume123","id":10223944,"avatar_url":"https://avatars.githubusercontent.com/u/10223944?v=3","gravatar_id":"","url":"https://api.github.com/users/singhsume123","html_url":"https://github.com/singhsume123","followers_url":"https://api.github.com/users/singhsume123/followers","following_url":"https://api.github.com/users/singhsume123/following{/other_user}","gists_url":"https://api.github.com/users/singhsume123/gists{/gist_id}","starred_url":"https://api.github.com/users/singhsume123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singhsume123/subscriptions","organizations_url":"https://api.github.com/users/singhsume123/orgs","repos_url":"https://api.github.com/users/singhsume123/repos","events_url":"https://api.github.com/users/singhsume123/events{/privacy}","received_events_url":"https://api.github.com/users/singhsume123/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-30T01:49:49Z","updated_at":"2016-05-01T16:03:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38bf453000ffcb71ad803e3fea33a121f2fecc23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/52/commits","review_comments_url":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/52/comments","review_comment_url":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wx1988/hcc_taaa/issues/52/comments","statuses_url":"https://api.github.com/repos/wx1988/hcc_taaa/statuses/01617b59bf54fa658aee4f6bc51a7fd2fe459247","head":{"label":"wx1988:feedback_loader","ref":"feedback_loader","sha":"01617b59bf54fa658aee4f6bc51a7fd2fe459247","user":{"login":"wx1988","id":5590961,"avatar_url":"https://avatars.githubusercontent.com/u/5590961?v=3","gravatar_id":"","url":"https://api.github.com/users/wx1988","html_url":"https://github.com/wx1988","followers_url":"https://api.github.com/users/wx1988/followers","following_url":"https://api.github.com/users/wx1988/following{/other_user}","gists_url":"https://api.github.com/users/wx1988/gists{/gist_id}","starred_url":"https://api.github.com/users/wx1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wx1988/subscriptions","organizations_url":"https://api.github.com/users/wx1988/orgs","repos_url":"https://api.github.com/users/wx1988/repos","events_url":"https://api.github.com/users/wx1988/events{/privacy}","received_events_url":"https://api.github.com/users/wx1988/received_events","type":"User","site_admin":false},"repo":{"id":55560021,"name":"hcc_taaa","full_name":"wx1988/hcc_taaa","owner":{"login":"wx1988","id":5590961,"avatar_url":"https://avatars.githubusercontent.com/u/5590961?v=3","gravatar_id":"","url":"https://api.github.com/users/wx1988","html_url":"https://github.com/wx1988","followers_url":"https://api.github.com/users/wx1988/followers","following_url":"https://api.github.com/users/wx1988/following{/other_user}","gists_url":"https://api.github.com/users/wx1988/gists{/gist_id}","starred_url":"https://api.github.com/users/wx1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wx1988/subscriptions","organizations_url":"https://api.github.com/users/wx1988/orgs","repos_url":"https://api.github.com/users/wx1988/repos","events_url":"https://api.github.com/users/wx1988/events{/privacy}","received_events_url":"https://api.github.com/users/wx1988/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wx1988/hcc_taaa","description":"Traffic Accident Analysis Assistant","fork":false,"url":"https://api.github.com/repos/wx1988/hcc_taaa","forks_url":"https://api.github.com/repos/wx1988/hcc_taaa/forks","keys_url":"https://api.github.com/repos/wx1988/hcc_taaa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wx1988/hcc_taaa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wx1988/hcc_taaa/teams","hooks_url":"https://api.github.com/repos/wx1988/hcc_taaa/hooks","issue_events_url":"https://api.github.com/repos/wx1988/hcc_taaa/issues/events{/number}","events_url":"https://api.github.com/repos/wx1988/hcc_taaa/events","assignees_url":"https://api.github.com/repos/wx1988/hcc_taaa/assignees{/user}","branches_url":"https://api.github.com/repos/wx1988/hcc_taaa/branches{/branch}","tags_url":"https://api.github.com/repos/wx1988/hcc_taaa/tags","blobs_url":"https://api.github.com/repos/wx1988/hcc_taaa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wx1988/hcc_taaa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wx1988/hcc_taaa/git/refs{/sha}","trees_url":"https://api.github.com/repos/wx1988/hcc_taaa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wx1988/hcc_taaa/statuses/{sha}","languages_url":"https://api.github.com/repos/wx1988/hcc_taaa/languages","stargazers_url":"https://api.github.com/repos/wx1988/hcc_taaa/stargazers","contributors_url":"https://api.github.com/repos/wx1988/hcc_taaa/contributors","subscribers_url":"https://api.github.com/repos/wx1988/hcc_taaa/subscribers","subscription_url":"https://api.github.com/repos/wx1988/hcc_taaa/subscription","commits_url":"https://api.github.com/repos/wx1988/hcc_taaa/commits{/sha}","git_commits_url":"https://api.github.com/repos/wx1988/hcc_taaa/git/commits{/sha}","comments_url":"https://api.github.com/repos/wx1988/hcc_taaa/comments{/number}","issue_comment_url":"https://api.github.com/repos/wx1988/hcc_taaa/issues/comments{/number}","contents_url":"https://api.github.com/repos/wx1988/hcc_taaa/contents/{+path}","compare_url":"https://api.github.com/repos/wx1988/hcc_taaa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wx1988/hcc_taaa/merges","archive_url":"https://api.github.com/repos/wx1988/hcc_taaa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wx1988/hcc_taaa/downloads","issues_url":"https://api.github.com/repos/wx1988/hcc_taaa/issues{/number}","pulls_url":"https://api.github.com/repos/wx1988/hcc_taaa/pulls{/number}","milestones_url":"https://api.github.com/repos/wx1988/hcc_taaa/milestones{/number}","notifications_url":"https://api.github.com/repos/wx1988/hcc_taaa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wx1988/hcc_taaa/labels{/name}","releases_url":"https://api.github.com/repos/wx1988/hcc_taaa/releases{/id}","deployments_url":"https://api.github.com/repos/wx1988/hcc_taaa/deployments","created_at":"2016-04-05T23:08:21Z","updated_at":"2016-04-21T19:29:37Z","pushed_at":"2016-05-01T15:55:39Z","git_url":"git://github.com/wx1988/hcc_taaa.git","ssh_url":"git@github.com:wx1988/hcc_taaa.git","clone_url":"https://github.com/wx1988/hcc_taaa.git","svn_url":"https://github.com/wx1988/hcc_taaa","homepage":null,"size":677,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":21,"forks":1,"open_issues":21,"watchers":0,"default_branch":"master"}},"base":{"label":"wx1988:master","ref":"master","sha":"ebea32abc63df0244f378591c11993b20e41625b","user":{"login":"wx1988","id":5590961,"avatar_url":"https://avatars.githubusercontent.com/u/5590961?v=3","gravatar_id":"","url":"https://api.github.com/users/wx1988","html_url":"https://github.com/wx1988","followers_url":"https://api.github.com/users/wx1988/followers","following_url":"https://api.github.com/users/wx1988/following{/other_user}","gists_url":"https://api.github.com/users/wx1988/gists{/gist_id}","starred_url":"https://api.github.com/users/wx1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wx1988/subscriptions","organizations_url":"https://api.github.com/users/wx1988/orgs","repos_url":"https://api.github.com/users/wx1988/repos","events_url":"https://api.github.com/users/wx1988/events{/privacy}","received_events_url":"https://api.github.com/users/wx1988/received_events","type":"User","site_admin":false},"repo":{"id":55560021,"name":"hcc_taaa","full_name":"wx1988/hcc_taaa","owner":{"login":"wx1988","id":5590961,"avatar_url":"https://avatars.githubusercontent.com/u/5590961?v=3","gravatar_id":"","url":"https://api.github.com/users/wx1988","html_url":"https://github.com/wx1988","followers_url":"https://api.github.com/users/wx1988/followers","following_url":"https://api.github.com/users/wx1988/following{/other_user}","gists_url":"https://api.github.com/users/wx1988/gists{/gist_id}","starred_url":"https://api.github.com/users/wx1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wx1988/subscriptions","organizations_url":"https://api.github.com/users/wx1988/orgs","repos_url":"https://api.github.com/users/wx1988/repos","events_url":"https://api.github.com/users/wx1988/events{/privacy}","received_events_url":"https://api.github.com/users/wx1988/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wx1988/hcc_taaa","description":"Traffic Accident Analysis Assistant","fork":false,"url":"https://api.github.com/repos/wx1988/hcc_taaa","forks_url":"https://api.github.com/repos/wx1988/hcc_taaa/forks","keys_url":"https://api.github.com/repos/wx1988/hcc_taaa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wx1988/hcc_taaa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wx1988/hcc_taaa/teams","hooks_url":"https://api.github.com/repos/wx1988/hcc_taaa/hooks","issue_events_url":"https://api.github.com/repos/wx1988/hcc_taaa/issues/events{/number}","events_url":"https://api.github.com/repos/wx1988/hcc_taaa/events","assignees_url":"https://api.github.com/repos/wx1988/hcc_taaa/assignees{/user}","branches_url":"https://api.github.com/repos/wx1988/hcc_taaa/branches{/branch}","tags_url":"https://api.github.com/repos/wx1988/hcc_taaa/tags","blobs_url":"https://api.github.com/repos/wx1988/hcc_taaa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wx1988/hcc_taaa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wx1988/hcc_taaa/git/refs{/sha}","trees_url":"https://api.github.com/repos/wx1988/hcc_taaa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wx1988/hcc_taaa/statuses/{sha}","languages_url":"https://api.github.com/repos/wx1988/hcc_taaa/languages","stargazers_url":"https://api.github.com/repos/wx1988/hcc_taaa/stargazers","contributors_url":"https://api.github.com/repos/wx1988/hcc_taaa/contributors","subscribers_url":"https://api.github.com/repos/wx1988/hcc_taaa/subscribers","subscription_url":"https://api.github.com/repos/wx1988/hcc_taaa/subscription","commits_url":"https://api.github.com/repos/wx1988/hcc_taaa/commits{/sha}","git_commits_url":"https://api.github.com/repos/wx1988/hcc_taaa/git/commits{/sha}","comments_url":"https://api.github.com/repos/wx1988/hcc_taaa/comments{/number}","issue_comment_url":"https://api.github.com/repos/wx1988/hcc_taaa/issues/comments{/number}","contents_url":"https://api.github.com/repos/wx1988/hcc_taaa/contents/{+path}","compare_url":"https://api.github.com/repos/wx1988/hcc_taaa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wx1988/hcc_taaa/merges","archive_url":"https://api.github.com/repos/wx1988/hcc_taaa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wx1988/hcc_taaa/downloads","issues_url":"https://api.github.com/repos/wx1988/hcc_taaa/issues{/number}","pulls_url":"https://api.github.com/repos/wx1988/hcc_taaa/pulls{/number}","milestones_url":"https://api.github.com/repos/wx1988/hcc_taaa/milestones{/number}","notifications_url":"https://api.github.com/repos/wx1988/hcc_taaa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wx1988/hcc_taaa/labels{/name}","releases_url":"https://api.github.com/repos/wx1988/hcc_taaa/releases{/id}","deployments_url":"https://api.github.com/repos/wx1988/hcc_taaa/deployments","created_at":"2016-04-05T23:08:21Z","updated_at":"2016-04-21T19:29:37Z","pushed_at":"2016-05-01T15:55:39Z","git_url":"git://github.com/wx1988/hcc_taaa.git","ssh_url":"git@github.com:wx1988/hcc_taaa.git","clone_url":"https://github.com/wx1988/hcc_taaa.git","svn_url":"https://github.com/wx1988/hcc_taaa","homepage":null,"size":677,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":21,"forks":1,"open_issues":21,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/52"},"html":{"href":"https://github.com/wx1988/hcc_taaa/pull/52"},"issue":{"href":"https://api.github.com/repos/wx1988/hcc_taaa/issues/52"},"comments":{"href":"https://api.github.com/repos/wx1988/hcc_taaa/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wx1988/hcc_taaa/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/wx1988/hcc_taaa/statuses/01617b59bf54fa658aee4f6bc51a7fd2fe459247"}}}}