{"action":"created","comment":{"url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/comments/118233130","pull_request_review_id":40002605,"id":118233130,"diff_hunk":"@@ -34,3 +34,7 @@ export function showOutputNo(targetElement) {\n     $el.after($insertEl);\n   });\n }\n+\n+export function isDevelopment() {\n+  return process.env.NODE_ENV === 'development' || location.query.indexOf('env=development') >= 0;","path":"lib/utils.js","position":null,"original_position":6,"commit_id":"f8f81d9f032e90e71639e0b4303bc456fbbe9d4e","original_commit_id":"3e09631ad00f58bf40a1047a303e00cbe981622a","user":{"login":"rinoguchi","id":5926783,"avatar_url":"https://avatars2.githubusercontent.com/u/5926783?v=3","gravatar_id":"","url":"https://api.github.com/users/rinoguchi","html_url":"https://github.com/rinoguchi","followers_url":"https://api.github.com/users/rinoguchi/followers","following_url":"https://api.github.com/users/rinoguchi/following{/other_user}","gists_url":"https://api.github.com/users/rinoguchi/gists{/gist_id}","starred_url":"https://api.github.com/users/rinoguchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinoguchi/subscriptions","organizations_url":"https://api.github.com/users/rinoguchi/orgs","repos_url":"https://api.github.com/users/rinoguchi/repos","events_url":"https://api.github.com/users/rinoguchi/events{/privacy}","received_events_url":"https://api.github.com/users/rinoguchi/received_events","type":"User","site_admin":false},"body":"location.queryって無いみたいです。searchっぽい。\r\nhttps://developer.mozilla.org/ja/docs/Web/API/Window/location","created_at":"2017-05-24T12:04:46Z","updated_at":"2017-05-24T12:10:23Z","html_url":"https://github.com/jirokun/survey-designer-js/pull/17#discussion_r118233130","pull_request_url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/comments/118233130"},"html":{"href":"https://github.com/jirokun/survey-designer-js/pull/17#discussion_r118233130"},"pull_request":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/17","id":122142441,"html_url":"https://github.com/jirokun/survey-designer-js/pull/17","diff_url":"https://github.com/jirokun/survey-designer-js/pull/17.diff","patch_url":"https://github.com/jirokun/survey-designer-js/pull/17.patch","issue_url":"https://api.github.com/repos/jirokun/survey-designer-js/issues/17","number":17,"state":"open","locked":false,"title":"選択肢の表示・非表示機能の追加","user":{"login":"jirokun","id":1380767,"avatar_url":"https://avatars0.githubusercontent.com/u/1380767?v=3","gravatar_id":"","url":"https://api.github.com/users/jirokun","html_url":"https://github.com/jirokun","followers_url":"https://api.github.com/users/jirokun/followers","following_url":"https://api.github.com/users/jirokun/following{/other_user}","gists_url":"https://api.github.com/users/jirokun/gists{/gist_id}","starred_url":"https://api.github.com/users/jirokun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirokun/subscriptions","organizations_url":"https://api.github.com/users/jirokun/orgs","repos_url":"https://api.github.com/users/jirokun/repos","events_url":"https://api.github.com/users/jirokun/events{/privacy}","received_events_url":"https://api.github.com/users/jirokun/received_events","type":"User","site_admin":false},"body":"選択肢の表示・非表示機能の他に開発者モードでsurveyのexportとimportを行えるように設定しています。\r\n\r\nコミット単位で見ると見やすいと思います。","created_at":"2017-05-24T04:24:36Z","updated_at":"2017-05-24T12:10:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fc52b5b943a53ca8dda48381c2cd947abc45f28","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/17/commits","review_comments_url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/17/comments","review_comment_url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jirokun/survey-designer-js/issues/17/comments","statuses_url":"https://api.github.com/repos/jirokun/survey-designer-js/statuses/f8f81d9f032e90e71639e0b4303bc456fbbe9d4e","head":{"label":"jirokun:feature/switching_item_visibility","ref":"feature/switching_item_visibility","sha":"f8f81d9f032e90e71639e0b4303bc456fbbe9d4e","user":{"login":"jirokun","id":1380767,"avatar_url":"https://avatars0.githubusercontent.com/u/1380767?v=3","gravatar_id":"","url":"https://api.github.com/users/jirokun","html_url":"https://github.com/jirokun","followers_url":"https://api.github.com/users/jirokun/followers","following_url":"https://api.github.com/users/jirokun/following{/other_user}","gists_url":"https://api.github.com/users/jirokun/gists{/gist_id}","starred_url":"https://api.github.com/users/jirokun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirokun/subscriptions","organizations_url":"https://api.github.com/users/jirokun/orgs","repos_url":"https://api.github.com/users/jirokun/repos","events_url":"https://api.github.com/users/jirokun/events{/privacy}","received_events_url":"https://api.github.com/users/jirokun/received_events","type":"User","site_admin":false},"repo":{"id":54949082,"name":"survey-designer-js","full_name":"jirokun/survey-designer-js","owner":{"login":"jirokun","id":1380767,"avatar_url":"https://avatars0.githubusercontent.com/u/1380767?v=3","gravatar_id":"","url":"https://api.github.com/users/jirokun","html_url":"https://github.com/jirokun","followers_url":"https://api.github.com/users/jirokun/followers","following_url":"https://api.github.com/users/jirokun/following{/other_user}","gists_url":"https://api.github.com/users/jirokun/gists{/gist_id}","starred_url":"https://api.github.com/users/jirokun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirokun/subscriptions","organizations_url":"https://api.github.com/users/jirokun/orgs","repos_url":"https://api.github.com/users/jirokun/repos","events_url":"https://api.github.com/users/jirokun/events{/privacy}","received_events_url":"https://api.github.com/users/jirokun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jirokun/survey-designer-js","description":null,"fork":false,"url":"https://api.github.com/repos/jirokun/survey-designer-js","forks_url":"https://api.github.com/repos/jirokun/survey-designer-js/forks","keys_url":"https://api.github.com/repos/jirokun/survey-designer-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jirokun/survey-designer-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jirokun/survey-designer-js/teams","hooks_url":"https://api.github.com/repos/jirokun/survey-designer-js/hooks","issue_events_url":"https://api.github.com/repos/jirokun/survey-designer-js/issues/events{/number}","events_url":"https://api.github.com/repos/jirokun/survey-designer-js/events","assignees_url":"https://api.github.com/repos/jirokun/survey-designer-js/assignees{/user}","branches_url":"https://api.github.com/repos/jirokun/survey-designer-js/branches{/branch}","tags_url":"https://api.github.com/repos/jirokun/survey-designer-js/tags","blobs_url":"https://api.github.com/repos/jirokun/survey-designer-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jirokun/survey-designer-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jirokun/survey-designer-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/jirokun/survey-designer-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jirokun/survey-designer-js/statuses/{sha}","languages_url":"https://api.github.com/repos/jirokun/survey-designer-js/languages","stargazers_url":"https://api.github.com/repos/jirokun/survey-designer-js/stargazers","contributors_url":"https://api.github.com/repos/jirokun/survey-designer-js/contributors","subscribers_url":"https://api.github.com/repos/jirokun/survey-designer-js/subscribers","subscription_url":"https://api.github.com/repos/jirokun/survey-designer-js/subscription","commits_url":"https://api.github.com/repos/jirokun/survey-designer-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/jirokun/survey-designer-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/jirokun/survey-designer-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/jirokun/survey-designer-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/jirokun/survey-designer-js/contents/{+path}","compare_url":"https://api.github.com/repos/jirokun/survey-designer-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jirokun/survey-designer-js/merges","archive_url":"https://api.github.com/repos/jirokun/survey-designer-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jirokun/survey-designer-js/downloads","issues_url":"https://api.github.com/repos/jirokun/survey-designer-js/issues{/number}","pulls_url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls{/number}","milestones_url":"https://api.github.com/repos/jirokun/survey-designer-js/milestones{/number}","notifications_url":"https://api.github.com/repos/jirokun/survey-designer-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jirokun/survey-designer-js/labels{/name}","releases_url":"https://api.github.com/repos/jirokun/survey-designer-js/releases{/id}","deployments_url":"https://api.github.com/repos/jirokun/survey-designer-js/deployments","created_at":"2016-03-29T05:43:09Z","updated_at":"2017-02-02T06:09:08Z","pushed_at":"2017-05-24T04:26:20Z","git_url":"git://github.com/jirokun/survey-designer-js.git","ssh_url":"git@github.com:jirokun/survey-designer-js.git","clone_url":"https://github.com/jirokun/survey-designer-js.git","svn_url":"https://github.com/jirokun/survey-designer-js","homepage":null,"size":3524,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":1,"default_branch":"develop"}},"base":{"label":"jirokun:develop","ref":"develop","sha":"a0f0e6e511cd4af5ae02240101da8743c652ea8d","user":{"login":"jirokun","id":1380767,"avatar_url":"https://avatars0.githubusercontent.com/u/1380767?v=3","gravatar_id":"","url":"https://api.github.com/users/jirokun","html_url":"https://github.com/jirokun","followers_url":"https://api.github.com/users/jirokun/followers","following_url":"https://api.github.com/users/jirokun/following{/other_user}","gists_url":"https://api.github.com/users/jirokun/gists{/gist_id}","starred_url":"https://api.github.com/users/jirokun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirokun/subscriptions","organizations_url":"https://api.github.com/users/jirokun/orgs","repos_url":"https://api.github.com/users/jirokun/repos","events_url":"https://api.github.com/users/jirokun/events{/privacy}","received_events_url":"https://api.github.com/users/jirokun/received_events","type":"User","site_admin":false},"repo":{"id":54949082,"name":"survey-designer-js","full_name":"jirokun/survey-designer-js","owner":{"login":"jirokun","id":1380767,"avatar_url":"https://avatars0.githubusercontent.com/u/1380767?v=3","gravatar_id":"","url":"https://api.github.com/users/jirokun","html_url":"https://github.com/jirokun","followers_url":"https://api.github.com/users/jirokun/followers","following_url":"https://api.github.com/users/jirokun/following{/other_user}","gists_url":"https://api.github.com/users/jirokun/gists{/gist_id}","starred_url":"https://api.github.com/users/jirokun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirokun/subscriptions","organizations_url":"https://api.github.com/users/jirokun/orgs","repos_url":"https://api.github.com/users/jirokun/repos","events_url":"https://api.github.com/users/jirokun/events{/privacy}","received_events_url":"https://api.github.com/users/jirokun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jirokun/survey-designer-js","description":null,"fork":false,"url":"https://api.github.com/repos/jirokun/survey-designer-js","forks_url":"https://api.github.com/repos/jirokun/survey-designer-js/forks","keys_url":"https://api.github.com/repos/jirokun/survey-designer-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jirokun/survey-designer-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jirokun/survey-designer-js/teams","hooks_url":"https://api.github.com/repos/jirokun/survey-designer-js/hooks","issue_events_url":"https://api.github.com/repos/jirokun/survey-designer-js/issues/events{/number}","events_url":"https://api.github.com/repos/jirokun/survey-designer-js/events","assignees_url":"https://api.github.com/repos/jirokun/survey-designer-js/assignees{/user}","branches_url":"https://api.github.com/repos/jirokun/survey-designer-js/branches{/branch}","tags_url":"https://api.github.com/repos/jirokun/survey-designer-js/tags","blobs_url":"https://api.github.com/repos/jirokun/survey-designer-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jirokun/survey-designer-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jirokun/survey-designer-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/jirokun/survey-designer-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jirokun/survey-designer-js/statuses/{sha}","languages_url":"https://api.github.com/repos/jirokun/survey-designer-js/languages","stargazers_url":"https://api.github.com/repos/jirokun/survey-designer-js/stargazers","contributors_url":"https://api.github.com/repos/jirokun/survey-designer-js/contributors","subscribers_url":"https://api.github.com/repos/jirokun/survey-designer-js/subscribers","subscription_url":"https://api.github.com/repos/jirokun/survey-designer-js/subscription","commits_url":"https://api.github.com/repos/jirokun/survey-designer-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/jirokun/survey-designer-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/jirokun/survey-designer-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/jirokun/survey-designer-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/jirokun/survey-designer-js/contents/{+path}","compare_url":"https://api.github.com/repos/jirokun/survey-designer-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jirokun/survey-designer-js/merges","archive_url":"https://api.github.com/repos/jirokun/survey-designer-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jirokun/survey-designer-js/downloads","issues_url":"https://api.github.com/repos/jirokun/survey-designer-js/issues{/number}","pulls_url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls{/number}","milestones_url":"https://api.github.com/repos/jirokun/survey-designer-js/milestones{/number}","notifications_url":"https://api.github.com/repos/jirokun/survey-designer-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jirokun/survey-designer-js/labels{/name}","releases_url":"https://api.github.com/repos/jirokun/survey-designer-js/releases{/id}","deployments_url":"https://api.github.com/repos/jirokun/survey-designer-js/deployments","created_at":"2016-03-29T05:43:09Z","updated_at":"2017-02-02T06:09:08Z","pushed_at":"2017-05-24T04:26:20Z","git_url":"git://github.com/jirokun/survey-designer-js.git","ssh_url":"git@github.com:jirokun/survey-designer-js.git","clone_url":"https://github.com/jirokun/survey-designer-js.git","svn_url":"https://github.com/jirokun/survey-designer-js","homepage":null,"size":3524,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/17"},"html":{"href":"https://github.com/jirokun/survey-designer-js/pull/17"},"issue":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/issues/17"},"comments":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/statuses/f8f81d9f032e90e71639e0b4303bc456fbbe9d4e"}}}}
{"actor":{"display_login":"rinoguchi"}}