{"action":"created","comment":{"url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments/77014859","id":77014859,"diff_hunk":"@@ -2,12 +2,12 @@\n  * Converts JSON data received from the server to flat array of values.\n  */\n function jsonToValuesArray(jsonData) {\n-  errMsgs =[];\n+  errMsgs = [];\n   for (var key in jsonData) {\n   \tvar values = jsonData[key];\n-\t\t$.each(values, function(idx, val) {\n-\t\t  errMsgs.push(val);\n-\t\t});\n+    $.each(values, function (idx, val) {\n+      errMsgs.push(val);","path":"app/assets/javascripts/sitewide/utils.js","position":12,"original_position":12,"commit_id":"cfb4cd9af55e0bfcd530cfc2177b9bdd4e9eb420","original_commit_id":"cfb4cd9af55e0bfcd530cfc2177b9bdd4e9eb420","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'errMsgs' is not defined.","created_at":"2016-08-31T15:53:18Z","updated_at":"2016-08-31T15:53:18Z","html_url":"https://github.com/biosistemika/scinote-web/pull/125#discussion_r77014859","pull_request_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/125","_links":{"self":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments/77014859"},"html":{"href":"https://github.com/biosistemika/scinote-web/pull/125#discussion_r77014859"},"pull_request":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/125"}}},"pull_request":{"url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/125","id":83470816,"html_url":"https://github.com/biosistemika/scinote-web/pull/125","diff_url":"https://github.com/biosistemika/scinote-web/pull/125.diff","patch_url":"https://github.com/biosistemika/scinote-web/pull/125.patch","issue_url":"https://api.github.com/repos/biosistemika/scinote-web/issues/125","number":125,"state":"open","locked":false,"title":"Popup for preventing page leaving when uploading avatar fixed [fixes SCI-399]","user":{"login":"mz3944","id":3761496,"avatar_url":"https://avatars.githubusercontent.com/u/3761496?v=3","gravatar_id":"","url":"https://api.github.com/users/mz3944","html_url":"https://github.com/mz3944","followers_url":"https://api.github.com/users/mz3944/followers","following_url":"https://api.github.com/users/mz3944/following{/other_user}","gists_url":"https://api.github.com/users/mz3944/gists{/gist_id}","starred_url":"https://api.github.com/users/mz3944/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mz3944/subscriptions","organizations_url":"https://api.github.com/users/mz3944/orgs","repos_url":"https://api.github.com/users/mz3944/repos","events_url":"https://api.github.com/users/mz3944/events{/privacy}","received_events_url":"https://api.github.com/users/mz3944/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-31T15:06:27Z","updated_at":"2016-08-31T15:53:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e943532b674a7dd1971b17e9b62f61477254962","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/125/commits","review_comments_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/125/comments","review_comment_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biosistemika/scinote-web/issues/125/comments","statuses_url":"https://api.github.com/repos/biosistemika/scinote-web/statuses/cfb4cd9af55e0bfcd530cfc2177b9bdd4e9eb420","head":{"label":"mz3944:mz_removed_avatar_upload_popop_sci_399","ref":"mz_removed_avatar_upload_popop_sci_399","sha":"cfb4cd9af55e0bfcd530cfc2177b9bdd4e9eb420","user":{"login":"mz3944","id":3761496,"avatar_url":"https://avatars.githubusercontent.com/u/3761496?v=3","gravatar_id":"","url":"https://api.github.com/users/mz3944","html_url":"https://github.com/mz3944","followers_url":"https://api.github.com/users/mz3944/followers","following_url":"https://api.github.com/users/mz3944/following{/other_user}","gists_url":"https://api.github.com/users/mz3944/gists{/gist_id}","starred_url":"https://api.github.com/users/mz3944/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mz3944/subscriptions","organizations_url":"https://api.github.com/users/mz3944/orgs","repos_url":"https://api.github.com/users/mz3944/repos","events_url":"https://api.github.com/users/mz3944/events{/privacy}","received_events_url":"https://api.github.com/users/mz3944/received_events","type":"User","site_admin":false},"repo":{"id":66658242,"name":"scinote-web","full_name":"mz3944/scinote-web","owner":{"login":"mz3944","id":3761496,"avatar_url":"https://avatars.githubusercontent.com/u/3761496?v=3","gravatar_id":"","url":"https://api.github.com/users/mz3944","html_url":"https://github.com/mz3944","followers_url":"https://api.github.com/users/mz3944/followers","following_url":"https://api.github.com/users/mz3944/following{/other_user}","gists_url":"https://api.github.com/users/mz3944/gists{/gist_id}","starred_url":"https://api.github.com/users/mz3944/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mz3944/subscriptions","organizations_url":"https://api.github.com/users/mz3944/orgs","repos_url":"https://api.github.com/users/mz3944/repos","events_url":"https://api.github.com/users/mz3944/events{/privacy}","received_events_url":"https://api.github.com/users/mz3944/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mz3944/scinote-web","description":"Open source electronic scientific notebook (ELN) that helps you manage your laboratory work and stores all your experimental data in one place.","fork":true,"url":"https://api.github.com/repos/mz3944/scinote-web","forks_url":"https://api.github.com/repos/mz3944/scinote-web/forks","keys_url":"https://api.github.com/repos/mz3944/scinote-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mz3944/scinote-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mz3944/scinote-web/teams","hooks_url":"https://api.github.com/repos/mz3944/scinote-web/hooks","issue_events_url":"https://api.github.com/repos/mz3944/scinote-web/issues/events{/number}","events_url":"https://api.github.com/repos/mz3944/scinote-web/events","assignees_url":"https://api.github.com/repos/mz3944/scinote-web/assignees{/user}","branches_url":"https://api.github.com/repos/mz3944/scinote-web/branches{/branch}","tags_url":"https://api.github.com/repos/mz3944/scinote-web/tags","blobs_url":"https://api.github.com/repos/mz3944/scinote-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mz3944/scinote-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mz3944/scinote-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/mz3944/scinote-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mz3944/scinote-web/statuses/{sha}","languages_url":"https://api.github.com/repos/mz3944/scinote-web/languages","stargazers_url":"https://api.github.com/repos/mz3944/scinote-web/stargazers","contributors_url":"https://api.github.com/repos/mz3944/scinote-web/contributors","subscribers_url":"https://api.github.com/repos/mz3944/scinote-web/subscribers","subscription_url":"https://api.github.com/repos/mz3944/scinote-web/subscription","commits_url":"https://api.github.com/repos/mz3944/scinote-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/mz3944/scinote-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/mz3944/scinote-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/mz3944/scinote-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/mz3944/scinote-web/contents/{+path}","compare_url":"https://api.github.com/repos/mz3944/scinote-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mz3944/scinote-web/merges","archive_url":"https://api.github.com/repos/mz3944/scinote-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mz3944/scinote-web/downloads","issues_url":"https://api.github.com/repos/mz3944/scinote-web/issues{/number}","pulls_url":"https://api.github.com/repos/mz3944/scinote-web/pulls{/number}","milestones_url":"https://api.github.com/repos/mz3944/scinote-web/milestones{/number}","notifications_url":"https://api.github.com/repos/mz3944/scinote-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mz3944/scinote-web/labels{/name}","releases_url":"https://api.github.com/repos/mz3944/scinote-web/releases{/id}","deployments_url":"https://api.github.com/repos/mz3944/scinote-web/deployments","created_at":"2016-08-26T15:24:26Z","updated_at":"2016-08-26T15:24:27Z","pushed_at":"2016-08-31T15:53:09Z","git_url":"git://github.com/mz3944/scinote-web.git","ssh_url":"git@github.com:mz3944/scinote-web.git","clone_url":"https://github.com/mz3944/scinote-web.git","svn_url":"https://github.com/mz3944/scinote-web","homepage":"http://www.scinote.net","size":6120,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"biosistemika:master","ref":"master","sha":"9ceea255b246f3863de5acd2213d2799c7f56aac","user":{"login":"biosistemika","id":15630206,"avatar_url":"https://avatars.githubusercontent.com/u/15630206?v=3","gravatar_id":"","url":"https://api.github.com/users/biosistemika","html_url":"https://github.com/biosistemika","followers_url":"https://api.github.com/users/biosistemika/followers","following_url":"https://api.github.com/users/biosistemika/following{/other_user}","gists_url":"https://api.github.com/users/biosistemika/gists{/gist_id}","starred_url":"https://api.github.com/users/biosistemika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biosistemika/subscriptions","organizations_url":"https://api.github.com/users/biosistemika/orgs","repos_url":"https://api.github.com/users/biosistemika/repos","events_url":"https://api.github.com/users/biosistemika/events{/privacy}","received_events_url":"https://api.github.com/users/biosistemika/received_events","type":"Organization","site_admin":false},"repo":{"id":51598133,"name":"scinote-web","full_name":"biosistemika/scinote-web","owner":{"login":"biosistemika","id":15630206,"avatar_url":"https://avatars.githubusercontent.com/u/15630206?v=3","gravatar_id":"","url":"https://api.github.com/users/biosistemika","html_url":"https://github.com/biosistemika","followers_url":"https://api.github.com/users/biosistemika/followers","following_url":"https://api.github.com/users/biosistemika/following{/other_user}","gists_url":"https://api.github.com/users/biosistemika/gists{/gist_id}","starred_url":"https://api.github.com/users/biosistemika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biosistemika/subscriptions","organizations_url":"https://api.github.com/users/biosistemika/orgs","repos_url":"https://api.github.com/users/biosistemika/repos","events_url":"https://api.github.com/users/biosistemika/events{/privacy}","received_events_url":"https://api.github.com/users/biosistemika/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biosistemika/scinote-web","description":"Open source electronic scientific notebook (ELN) that helps you manage your laboratory work and stores all your experimental data in one place.","fork":false,"url":"https://api.github.com/repos/biosistemika/scinote-web","forks_url":"https://api.github.com/repos/biosistemika/scinote-web/forks","keys_url":"https://api.github.com/repos/biosistemika/scinote-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biosistemika/scinote-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biosistemika/scinote-web/teams","hooks_url":"https://api.github.com/repos/biosistemika/scinote-web/hooks","issue_events_url":"https://api.github.com/repos/biosistemika/scinote-web/issues/events{/number}","events_url":"https://api.github.com/repos/biosistemika/scinote-web/events","assignees_url":"https://api.github.com/repos/biosistemika/scinote-web/assignees{/user}","branches_url":"https://api.github.com/repos/biosistemika/scinote-web/branches{/branch}","tags_url":"https://api.github.com/repos/biosistemika/scinote-web/tags","blobs_url":"https://api.github.com/repos/biosistemika/scinote-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biosistemika/scinote-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biosistemika/scinote-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/biosistemika/scinote-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biosistemika/scinote-web/statuses/{sha}","languages_url":"https://api.github.com/repos/biosistemika/scinote-web/languages","stargazers_url":"https://api.github.com/repos/biosistemika/scinote-web/stargazers","contributors_url":"https://api.github.com/repos/biosistemika/scinote-web/contributors","subscribers_url":"https://api.github.com/repos/biosistemika/scinote-web/subscribers","subscription_url":"https://api.github.com/repos/biosistemika/scinote-web/subscription","commits_url":"https://api.github.com/repos/biosistemika/scinote-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/biosistemika/scinote-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/biosistemika/scinote-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/biosistemika/scinote-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/biosistemika/scinote-web/contents/{+path}","compare_url":"https://api.github.com/repos/biosistemika/scinote-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biosistemika/scinote-web/merges","archive_url":"https://api.github.com/repos/biosistemika/scinote-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biosistemika/scinote-web/downloads","issues_url":"https://api.github.com/repos/biosistemika/scinote-web/issues{/number}","pulls_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls{/number}","milestones_url":"https://api.github.com/repos/biosistemika/scinote-web/milestones{/number}","notifications_url":"https://api.github.com/repos/biosistemika/scinote-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biosistemika/scinote-web/labels{/name}","releases_url":"https://api.github.com/repos/biosistemika/scinote-web/releases{/id}","deployments_url":"https://api.github.com/repos/biosistemika/scinote-web/deployments","created_at":"2016-02-12T15:47:19Z","updated_at":"2016-08-27T20:16:56Z","pushed_at":"2016-08-31T15:53:09Z","git_url":"git://github.com/biosistemika/scinote-web.git","ssh_url":"git@github.com:biosistemika/scinote-web.git","clone_url":"https://github.com/biosistemika/scinote-web.git","svn_url":"https://github.com/biosistemika/scinote-web","homepage":"http://www.scinote.net","size":6157,"stargazers_count":25,"watchers_count":25,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":5,"forks":13,"open_issues":5,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/125"},"html":{"href":"https://github.com/biosistemika/scinote-web/pull/125"},"issue":{"href":"https://api.github.com/repos/biosistemika/scinote-web/issues/125"},"comments":{"href":"https://api.github.com/repos/biosistemika/scinote-web/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/biosistemika/scinote-web/statuses/cfb4cd9af55e0bfcd530cfc2177b9bdd4e9eb420"}}}}
{"actor":{"display_login":"houndci-bot"}}