{"action":"created","comment":{"url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments/217685400","pull_request_review_id":155459393,"id":217685400,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzY4NTQwMA==","diff_hunk":"@@ -0,0 +1,71 @@\n+(function() {\n+  'use strict';\n+\n+  $.initTooltips = function() {\n+    if ($(document.body).data(\"tooltips-enabled\") === true || $(document.body).data(\"tooltips-enabled\") == null) {\n+      var popoversArray = [];\n+      $('.tooltip_open').remove(); // Destroy all (if any) old open popovers\n+      $('.help_tooltips').each(function(i, obj) {\n+        var popoverObject = obj;\n+        popoversArray.push(popoverObject);\n+      });\n+      $('.help_tooltips').each(function(i, obj) {\n+        var link = $(obj).data('tooltiplink');\n+        var textData = $(obj).data('tooltipcontent');\n+\n+        $(obj).popover({\n+          html: true,\n+          container: 'body',\n+          placement: 'auto right',\n+          trigger: 'manual',\n+          content: 'popovers will not display if empty',\n+          template: '<div class=\"popover tooltip_' + i + '_window tooltip-open\" role=\"tooltip\" >' +\n+            '<div class=\"popover-body\" >' + textData + '</div>' +\n+            '<br><br><br>' +\n+            '<div class=\"popover-footer\">' +\n+            '<a class=\"btn btn-link text-nowrap\" href=\"' + link + '\" target=\"_blank\" rel=\"noopener noreferrer\" >' +\n+            'Read more&nbsp;&nbsp;&nbsp;<i class=\"fas fa-external-link-alt\"></i>' +\n+            '</a>' +\n+            '</div>' +\n+            '</div>'\n+        }).off(\"shown.bs.popover\").on(\"shown.bs.popover\", function() {\n+          // hide all other popovers\n+          popoversArray.forEach(function(arrayItem) {\n+            if (obj !== arrayItem) {\n+              $(arrayItem).popover(\"hide\");\n+            }\n+          });\n+        }).off(\"mouseleave\").on(\"mouseleave\", function() {\n+          setTimeout(function() {\n+            if (!$(\".tooltip_\" + i + \"_window:hover\").length) {\n+              $(obj).popover(\"hide\");\n+            }\n+          }, 100);\n+        }).off(\"mouseenter\").on(\"mouseenter\", function() {\n+          setTimeout(function() {\n+            if ($(obj).hover().length > 0) {\n+              $(obj).popover(\"show\");\n+              $(\".tooltip_\" + i + \"_window\").removeClass(\"tooltip-enter\");\n+              var top = $(obj).offset().top;\n+              $('.tooltip_' + i + '_window').css({\n+                top: (top) + 'px'\n+              });\n+              $(\".tooltip_\" + i + \"_window\").off(\"mouseleave\").on(\"mouseleave\", function() {\n+                $(\".tooltip_\" + i + \"_window\").removeClass(\"tooltip-enter\");\n+                $(obj).popover('hide');","path":"app/assets/javascripts/sitewide/tooltip_helper.js","position":55,"original_position":55,"commit_id":"07757e382a5490c829dbe4c4a7566c5bed11fd97","original_commit_id":"07757e382a5490c829dbe4c4a7566c5bed11fd97","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","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":"'$' is not defined  no-undef","created_at":"2018-09-14T11:43:52Z","updated_at":"2018-09-14T11:43:54Z","html_url":"https://github.com/biosistemika/scinote-web/pull/1274#discussion_r217685400","pull_request_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1274","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments/217685400"},"html":{"href":"https://github.com/biosistemika/scinote-web/pull/1274#discussion_r217685400"},"pull_request":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1274"}}},"pull_request":{"url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1274","id":209761338,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NzYxMzM4","html_url":"https://github.com/biosistemika/scinote-web/pull/1274","diff_url":"https://github.com/biosistemika/scinote-web/pull/1274.diff","patch_url":"https://github.com/biosistemika/scinote-web/pull/1274.patch","issue_url":"https://api.github.com/repos/biosistemika/scinote-web/issues/1274","number":1274,"state":"open","locked":false,"title":"Added Tooltips (bootstrap popovers) for various elements in scinote [SCI-2662]","user":{"login":"Zanz2","id":10207480,"node_id":"MDQ6VXNlcjEwMjA3NDgw","avatar_url":"https://avatars1.githubusercontent.com/u/10207480?v=4","gravatar_id":"","url":"https://api.github.com/users/Zanz2","html_url":"https://github.com/Zanz2","followers_url":"https://api.github.com/users/Zanz2/followers","following_url":"https://api.github.com/users/Zanz2/following{/other_user}","gists_url":"https://api.github.com/users/Zanz2/gists{/gist_id}","starred_url":"https://api.github.com/users/Zanz2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zanz2/subscriptions","organizations_url":"https://api.github.com/users/Zanz2/orgs","repos_url":"https://api.github.com/users/Zanz2/repos","events_url":"https://api.github.com/users/Zanz2/events{/privacy}","received_events_url":"https://api.github.com/users/Zanz2/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-21T09:24:21Z","updated_at":"2018-09-14T11:43:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3ac2d874b2d845ad92316b13b75dd745330c609","assignee":{"login":"Ducz0r","id":6177722,"node_id":"MDQ6VXNlcjYxNzc3MjI=","avatar_url":"https://avatars3.githubusercontent.com/u/6177722?v=4","gravatar_id":"","url":"https://api.github.com/users/Ducz0r","html_url":"https://github.com/Ducz0r","followers_url":"https://api.github.com/users/Ducz0r/followers","following_url":"https://api.github.com/users/Ducz0r/following{/other_user}","gists_url":"https://api.github.com/users/Ducz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Ducz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ducz0r/subscriptions","organizations_url":"https://api.github.com/users/Ducz0r/orgs","repos_url":"https://api.github.com/users/Ducz0r/repos","events_url":"https://api.github.com/users/Ducz0r/events{/privacy}","received_events_url":"https://api.github.com/users/Ducz0r/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ducz0r","id":6177722,"node_id":"MDQ6VXNlcjYxNzc3MjI=","avatar_url":"https://avatars3.githubusercontent.com/u/6177722?v=4","gravatar_id":"","url":"https://api.github.com/users/Ducz0r","html_url":"https://github.com/Ducz0r","followers_url":"https://api.github.com/users/Ducz0r/followers","following_url":"https://api.github.com/users/Ducz0r/following{/other_user}","gists_url":"https://api.github.com/users/Ducz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Ducz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ducz0r/subscriptions","organizations_url":"https://api.github.com/users/Ducz0r/orgs","repos_url":"https://api.github.com/users/Ducz0r/repos","events_url":"https://api.github.com/users/Ducz0r/events{/privacy}","received_events_url":"https://api.github.com/users/Ducz0r/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":481893795,"node_id":"MDU6TGFiZWw0ODE4OTM3OTU=","url":"https://api.github.com/repos/biosistemika/scinote-web/labels/master","name":"master","color":"37a0d9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1274/commits","review_comments_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1274/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/1274/comments","statuses_url":"https://api.github.com/repos/biosistemika/scinote-web/statuses/07757e382a5490c829dbe4c4a7566c5bed11fd97","head":{"label":"Zanz2:zz_in_app_tooltips_help_sci2662","ref":"zz_in_app_tooltips_help_sci2662","sha":"07757e382a5490c829dbe4c4a7566c5bed11fd97","user":{"login":"Zanz2","id":10207480,"node_id":"MDQ6VXNlcjEwMjA3NDgw","avatar_url":"https://avatars1.githubusercontent.com/u/10207480?v=4","gravatar_id":"","url":"https://api.github.com/users/Zanz2","html_url":"https://github.com/Zanz2","followers_url":"https://api.github.com/users/Zanz2/followers","following_url":"https://api.github.com/users/Zanz2/following{/other_user}","gists_url":"https://api.github.com/users/Zanz2/gists{/gist_id}","starred_url":"https://api.github.com/users/Zanz2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zanz2/subscriptions","organizations_url":"https://api.github.com/users/Zanz2/orgs","repos_url":"https://api.github.com/users/Zanz2/repos","events_url":"https://api.github.com/users/Zanz2/events{/privacy}","received_events_url":"https://api.github.com/users/Zanz2/received_events","type":"User","site_admin":false},"repo":{"id":101616243,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE2MTYyNDM=","name":"scinote-web","full_name":"Zanz2/scinote-web","owner":{"login":"Zanz2","id":10207480,"node_id":"MDQ6VXNlcjEwMjA3NDgw","avatar_url":"https://avatars1.githubusercontent.com/u/10207480?v=4","gravatar_id":"","url":"https://api.github.com/users/Zanz2","html_url":"https://github.com/Zanz2","followers_url":"https://api.github.com/users/Zanz2/followers","following_url":"https://api.github.com/users/Zanz2/following{/other_user}","gists_url":"https://api.github.com/users/Zanz2/gists{/gist_id}","starred_url":"https://api.github.com/users/Zanz2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zanz2/subscriptions","organizations_url":"https://api.github.com/users/Zanz2/orgs","repos_url":"https://api.github.com/users/Zanz2/repos","events_url":"https://api.github.com/users/Zanz2/events{/privacy}","received_events_url":"https://api.github.com/users/Zanz2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Zanz2/scinote-web","description":"Open source electronic lab 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/Zanz2/scinote-web","forks_url":"https://api.github.com/repos/Zanz2/scinote-web/forks","keys_url":"https://api.github.com/repos/Zanz2/scinote-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zanz2/scinote-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zanz2/scinote-web/teams","hooks_url":"https://api.github.com/repos/Zanz2/scinote-web/hooks","issue_events_url":"https://api.github.com/repos/Zanz2/scinote-web/issues/events{/number}","events_url":"https://api.github.com/repos/Zanz2/scinote-web/events","assignees_url":"https://api.github.com/repos/Zanz2/scinote-web/assignees{/user}","branches_url":"https://api.github.com/repos/Zanz2/scinote-web/branches{/branch}","tags_url":"https://api.github.com/repos/Zanz2/scinote-web/tags","blobs_url":"https://api.github.com/repos/Zanz2/scinote-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zanz2/scinote-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zanz2/scinote-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zanz2/scinote-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zanz2/scinote-web/statuses/{sha}","languages_url":"https://api.github.com/repos/Zanz2/scinote-web/languages","stargazers_url":"https://api.github.com/repos/Zanz2/scinote-web/stargazers","contributors_url":"https://api.github.com/repos/Zanz2/scinote-web/contributors","subscribers_url":"https://api.github.com/repos/Zanz2/scinote-web/subscribers","subscription_url":"https://api.github.com/repos/Zanz2/scinote-web/subscription","commits_url":"https://api.github.com/repos/Zanz2/scinote-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zanz2/scinote-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zanz2/scinote-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zanz2/scinote-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zanz2/scinote-web/contents/{+path}","compare_url":"https://api.github.com/repos/Zanz2/scinote-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zanz2/scinote-web/merges","archive_url":"https://api.github.com/repos/Zanz2/scinote-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zanz2/scinote-web/downloads","issues_url":"https://api.github.com/repos/Zanz2/scinote-web/issues{/number}","pulls_url":"https://api.github.com/repos/Zanz2/scinote-web/pulls{/number}","milestones_url":"https://api.github.com/repos/Zanz2/scinote-web/milestones{/number}","notifications_url":"https://api.github.com/repos/Zanz2/scinote-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zanz2/scinote-web/labels{/name}","releases_url":"https://api.github.com/repos/Zanz2/scinote-web/releases{/id}","deployments_url":"https://api.github.com/repos/Zanz2/scinote-web/deployments","created_at":"2017-08-28T07:29:55Z","updated_at":"2018-08-30T11:21:03Z","pushed_at":"2018-09-14T11:43:44Z","git_url":"git://github.com/Zanz2/scinote-web.git","ssh_url":"git@github.com:Zanz2/scinote-web.git","clone_url":"https://github.com/Zanz2/scinote-web.git","svn_url":"https://github.com/Zanz2/scinote-web","homepage":"https://www.scinote.net","size":15144,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"biosistemika:master","ref":"master","sha":"422baaf64ac0846e963783b57c2d4036511de061","user":{"login":"biosistemika","id":15630206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NjMwMjA2","avatar_url":"https://avatars2.githubusercontent.com/u/15630206?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnk1MTU5ODEzMw==","name":"scinote-web","full_name":"biosistemika/scinote-web","owner":{"login":"biosistemika","id":15630206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NjMwMjA2","avatar_url":"https://avatars2.githubusercontent.com/u/15630206?v=4","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 lab 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":"2018-09-13T12:50:04Z","pushed_at":"2018-09-14T11:43:46Z","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":"https://www.scinote.net","size":26529,"stargazers_count":146,"watchers_count":146,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":43,"open_issues":20,"watchers":146,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1274"},"html":{"href":"https://github.com/biosistemika/scinote-web/pull/1274"},"issue":{"href":"https://api.github.com/repos/biosistemika/scinote-web/issues/1274"},"comments":{"href":"https://api.github.com/repos/biosistemika/scinote-web/issues/1274/comments"},"review_comments":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1274/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/1274/commits"},"statuses":{"href":"https://api.github.com/repos/biosistemika/scinote-web/statuses/07757e382a5490c829dbe4c4a7566c5bed11fd97"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}