{"action":"created","comment":{"url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/comments/103909224","pull_request_review_id":24714245,"id":103909224,"diff_hunk":"@@ -0,0 +1,168 @@\n+/* eslint-env browser */\n+import React, { Component } from 'react';\n+import { connect } from 'react-redux';\n+import $ from 'jquery';\n+import S from 'string';\n+import Parsley from 'parsleyjs';\n+import ParsleyJa from 'parsleyjs/dist/i18n/ja.js';\n+import ParsleyJaExtra from 'parsleyjs/dist/i18n/ja.extra.js';\n+import Tooltipster from 'tooltipster';\n+import { findQuestionClass } from '../components/questions/Questions';\n+import * as Actions from '../actions';\n+import { findParentByClassName } from '../../utils';\n+\n+class Page extends Component {\n+  componentDidMount() {\n+    this.executeJavaScript();\n+    this.parsley();\n+  }\n+\n+  /** Reactのライフサイクルメソッド */\n+  componentDidUpdate(prevProps) {\n+    const prevPage = prevProps.page;\n+    const currentPage = this.props.page;\n+    if (prevPage.id !== currentPage.id) {\n+      this.executeJavaScript();","path":"lib/runtime/components/Page.js","position":25,"original_position":25,"commit_id":"104d566da64c784e168b4a1d18694c2cb96659f9","original_commit_id":"d08750f965754bced85f74bb25be2c8b1aeaafa3","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":"不要です。\r\n一度pageElが作られるとpageElは変わらないためです。","created_at":"2017-03-02T12:05:44Z","updated_at":"2017-03-02T12:05:44Z","html_url":"https://github.com/jirokun/survey-designer-js/pull/2#discussion_r103909224","pull_request_url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/comments/103909224"},"html":{"href":"https://github.com/jirokun/survey-designer-js/pull/2#discussion_r103909224"},"pull_request":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/2","id":107612028,"html_url":"https://github.com/jirokun/survey-designer-js/pull/2","diff_url":"https://github.com/jirokun/survey-designer-js/pull/2.diff","patch_url":"https://github.com/jirokun/survey-designer-js/pull/2.patch","issue_url":"https://api.github.com/repos/jirokun/survey-designer-js/issues/2","number":2,"state":"open","locked":false,"title":"STEP1","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":"基本機能を実装しました。実装した機能の一覧は下記のとおりです。\r\n\r\n1. Wセットアップ\r\n2. テスト環境構築\r\n3. 簡易な設問の作成(radio,checkbox,text,multinuber)\r\n4. WYSIWYGでテーブル形式、枠線、箇条書きなど\r\n5. ページ分岐\r\n6. スクリーニング(任意の箇所で可能）\r\n7. リアルタイムプレビュー\r\n8. 設問を置かないページ\r\n9. プレビュー\r\n10. 簡易なvalidation\r\n11. アンケートの保存\r\n12. 回答の登録\r\n13. 回答データダウンロード\r\n14. パネル選択\r\n15. 日程・個人情報・調査許諾","created_at":"2017-02-23T12:10:38Z","updated_at":"2017-03-02T12:05:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f5134cc6220542e7bd1b000880296b3f47eca91","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/2/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/2/comments","statuses_url":"https://api.github.com/repos/jirokun/survey-designer-js/statuses/104d566da64c784e168b4a1d18694c2cb96659f9","head":{"label":"jirokun:release/0.0.1","ref":"release/0.0.1","sha":"104d566da64c784e168b4a1d18694c2cb96659f9","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-03-02T09:40:28Z","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":1813,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"jirokun:master","ref":"master","sha":"2dbdb4a8652a6bcbfc149894762793727cecfb0f","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-03-02T09:40:28Z","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":1813,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/2"},"html":{"href":"https://github.com/jirokun/survey-designer-js/pull/2"},"issue":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/issues/2"},"comments":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/pulls/2/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/2/commits"},"statuses":{"href":"https://api.github.com/repos/jirokun/survey-designer-js/statuses/104d566da64c784e168b4a1d18694c2cb96659f9"}}}}
{"actor":{"display_login":"jirokun"}}