{"action":"created","comment":{"url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments/214003352","pull_request_review_id":150959837,"id":214003352,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDAwMzM1Mg==","diff_hunk":"@@ -140,20 +140,20 @@\n         case ResultTypeEnum.TABLE:\n           var $nameInput = $form.find('#result_name');\n           var nameValid = textValidator(ev, $nameInput, 0,\n-            <%= Constants::NAME_MAX_LENGTH %>);\n+            gon.global.NAME_MAX_LENGTH);\n           break;\n         case ResultTypeEnum.TEXT:\n           var $nameInput = $form.find('#result_name');\n           var nameValid = textValidator(ev, $nameInput, 0,\n-            <%= Constants::NAME_MAX_LENGTH %>);\n+            gon.global.NAME_MAX_LENGTH);\n           var $descrTextarea = $form.find(\"#result_result_text_attributes_text\");\n           var $tinyMCEInput = TinyMCE.getContent();\n-          textValidator(ev, $descrTextarea, 1, <%= Constants::TEXT_MAX_LENGTH %>, false, $tinyMCEInput);\n+          textValidator(ev, $descrTextarea, 1, gon.global.TEXT_MAX_LENGTH, false, $tinyMCEInput);","path":"app/assets/javascripts/my_modules/results.js","position":15,"original_position":15,"commit_id":"b6582b92fbea269e61a8912b2bd55bcf1e64e40f","original_commit_id":"b6582b92fbea269e61a8912b2bd55bcf1e64e40f","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":"'textValidator' is not defined                     no-undef<br>'gon' is not defined                               no-undef","created_at":"2018-08-30T12:02:40Z","updated_at":"2018-08-30T12:02:42Z","html_url":"https://github.com/biosistemika/scinote-web/pull/1288#discussion_r214003352","pull_request_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1288","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments/214003352"},"html":{"href":"https://github.com/biosistemika/scinote-web/pull/1288#discussion_r214003352"},"pull_request":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1288"}}},"pull_request":{"url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1288","id":212026951,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMDI2OTUx","html_url":"https://github.com/biosistemika/scinote-web/pull/1288","diff_url":"https://github.com/biosistemika/scinote-web/pull/1288.diff","patch_url":"https://github.com/biosistemika/scinote-web/pull/1288.patch","issue_url":"https://api.github.com/repos/biosistemika/scinote-web/issues/1288","number":1288,"state":"open","locked":false,"title":"Refactored .js.erb -> .js using gon gem [SCI-2620]","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-30T10:15:28Z","updated_at":"2018-08-30T12:02:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3d0d41053f94720c68d5aff7b40dcd0913819fe","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1288/commits","review_comments_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1288/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/1288/comments","statuses_url":"https://api.github.com/repos/biosistemika/scinote-web/statuses/b6582b92fbea269e61a8912b2bd55bcf1e64e40f","head":{"label":"Zanz2:zz_js_erb_to_js_sci2620","ref":"zz_js_erb_to_js_sci2620","sha":"b6582b92fbea269e61a8912b2bd55bcf1e64e40f","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-08-30T12:02:08Z","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":15008,"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":"fcf947e29b215540e0666999dadd795479629ada","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-08-29T09:02:48Z","pushed_at":"2018-08-30T12:02:10Z","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":26488,"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":41,"mirror_url":null,"archived":false,"open_issues_count":14,"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":41,"open_issues":14,"watchers":146,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1288"},"html":{"href":"https://github.com/biosistemika/scinote-web/pull/1288"},"issue":{"href":"https://api.github.com/repos/biosistemika/scinote-web/issues/1288"},"comments":{"href":"https://api.github.com/repos/biosistemika/scinote-web/issues/1288/comments"},"review_comments":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/1288/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/1288/commits"},"statuses":{"href":"https://api.github.com/repos/biosistemika/scinote-web/statuses/b6582b92fbea269e61a8912b2bd55bcf1e64e40f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}