{"action":"created","comment":{"url":"https://api.github.com/repos/dionyziz/Automata/pulls/comments/29100367","id":29100367,"diff_hunk":"@@ -1,8 +1,8 @@\n var Runner = {\n     editor: null,\n     enabled: false,\n-    inputString: '',\n-    runStep: '',\n+    inputString: 'abba',","path":"site/js/runner.js","position":6,"original_position":6,"commit_id":"5957f418a28913e8eb4c58a474fd36495e11305c","original_commit_id":"5957f418a28913e8eb4c58a474fd36495e11305c","user":{"login":"DmitryMyadzelets","id":2686981,"avatar_url":"https://avatars.githubusercontent.com/u/2686981?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryMyadzelets","html_url":"https://github.com/DmitryMyadzelets","followers_url":"https://api.github.com/users/DmitryMyadzelets/followers","following_url":"https://api.github.com/users/DmitryMyadzelets/following{/other_user}","gists_url":"https://api.github.com/users/DmitryMyadzelets/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryMyadzelets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryMyadzelets/subscriptions","organizations_url":"https://api.github.com/users/DmitryMyadzelets/orgs","repos_url":"https://api.github.com/users/DmitryMyadzelets/repos","events_url":"https://api.github.com/users/DmitryMyadzelets/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryMyadzelets/received_events","type":"User","site_admin":false},"body":"In case of the Runner it's not easy to understand where the controller and where the view are. To me the Runner modules looks as a *view controller*. The `abba` default string was assigned in the `run` method of this module each time the user wants to make a run (event if the user used another string before). Now the previous string is preserved, and the user sees that default suggested string when the automaton runs the very first time and no other strings ware provided. \r\nConcluding, the default input string is set by a view controller (during its instantination).","created_at":"2015-04-25T12:58:17Z","updated_at":"2015-04-25T12:58:17Z","html_url":"https://github.com/dionyziz/Automata/pull/47#discussion_r29100367","pull_request_url":"https://api.github.com/repos/dionyziz/Automata/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/dionyziz/Automata/pulls/comments/29100367"},"html":{"href":"https://github.com/dionyziz/Automata/pull/47#discussion_r29100367"},"pull_request":{"href":"https://api.github.com/repos/dionyziz/Automata/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/dionyziz/Automata/pulls/47","id":33715447,"html_url":"https://github.com/dionyziz/Automata/pull/47","diff_url":"https://github.com/dionyziz/Automata/pull/47.diff","patch_url":"https://github.com/dionyziz/Automata/pull/47.patch","issue_url":"https://api.github.com/repos/dionyziz/Automata/issues/47","number":47,"state":"open","locked":false,"title":"Fixed issue #9","user":{"login":"DmitryMyadzelets","id":2686981,"avatar_url":"https://avatars.githubusercontent.com/u/2686981?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryMyadzelets","html_url":"https://github.com/DmitryMyadzelets","followers_url":"https://api.github.com/users/DmitryMyadzelets/followers","following_url":"https://api.github.com/users/DmitryMyadzelets/following{/other_user}","gists_url":"https://api.github.com/users/DmitryMyadzelets/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryMyadzelets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryMyadzelets/subscriptions","organizations_url":"https://api.github.com/users/DmitryMyadzelets/orgs","repos_url":"https://api.github.com/users/DmitryMyadzelets/repos","events_url":"https://api.github.com/users/DmitryMyadzelets/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryMyadzelets/received_events","type":"User","site_admin":false},"body":"The Runner (runner.js) has been slightly refactored and simlified s.t. it is more determenistic now. Also the existing method `editor.gotoStep( steps )` has been changed to get the actual number of steps (i.e. a length of the substring) the automaton executed.\r\n\r\nAcceptance is verified for the entire string only, not substrings (not sure it should be so).\r\n\r\nWhen user provides a string which contains symbols not from the alphabet, a correspondent message appears (it was silent).\r\n\r\nA string provided by the user is kept between rans now (it was reset to the default string before).","created_at":"2015-04-20T23:13:46Z","updated_at":"2015-04-25T12:58:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f48884dce618f7ffe5dcefedcf5ec93b6c3d4aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dionyziz/Automata/pulls/47/commits","review_comments_url":"https://api.github.com/repos/dionyziz/Automata/pulls/47/comments","review_comment_url":"https://api.github.com/repos/dionyziz/Automata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dionyziz/Automata/issues/47/comments","statuses_url":"https://api.github.com/repos/dionyziz/Automata/statuses/5957f418a28913e8eb4c58a474fd36495e11305c","head":{"label":"DmitryMyadzelets:master","ref":"master","sha":"5957f418a28913e8eb4c58a474fd36495e11305c","user":{"login":"DmitryMyadzelets","id":2686981,"avatar_url":"https://avatars.githubusercontent.com/u/2686981?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryMyadzelets","html_url":"https://github.com/DmitryMyadzelets","followers_url":"https://api.github.com/users/DmitryMyadzelets/followers","following_url":"https://api.github.com/users/DmitryMyadzelets/following{/other_user}","gists_url":"https://api.github.com/users/DmitryMyadzelets/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryMyadzelets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryMyadzelets/subscriptions","organizations_url":"https://api.github.com/users/DmitryMyadzelets/orgs","repos_url":"https://api.github.com/users/DmitryMyadzelets/repos","events_url":"https://api.github.com/users/DmitryMyadzelets/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryMyadzelets/received_events","type":"User","site_admin":false},"repo":{"id":10158253,"name":"Automata","full_name":"DmitryMyadzelets/Automata","owner":{"login":"DmitryMyadzelets","id":2686981,"avatar_url":"https://avatars.githubusercontent.com/u/2686981?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryMyadzelets","html_url":"https://github.com/DmitryMyadzelets","followers_url":"https://api.github.com/users/DmitryMyadzelets/followers","following_url":"https://api.github.com/users/DmitryMyadzelets/following{/other_user}","gists_url":"https://api.github.com/users/DmitryMyadzelets/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryMyadzelets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryMyadzelets/subscriptions","organizations_url":"https://api.github.com/users/DmitryMyadzelets/orgs","repos_url":"https://api.github.com/users/DmitryMyadzelets/repos","events_url":"https://api.github.com/users/DmitryMyadzelets/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryMyadzelets/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DmitryMyadzelets/Automata","description":"An editor for deterministic finite automata","fork":true,"url":"https://api.github.com/repos/DmitryMyadzelets/Automata","forks_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/forks","keys_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/teams","hooks_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/hooks","issue_events_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/issues/events{/number}","events_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/events","assignees_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/assignees{/user}","branches_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/branches{/branch}","tags_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/tags","blobs_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/git/refs{/sha}","trees_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/statuses/{sha}","languages_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/languages","stargazers_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/stargazers","contributors_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/contributors","subscribers_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/subscribers","subscription_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/subscription","commits_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/commits{/sha}","git_commits_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/git/commits{/sha}","comments_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/comments{/number}","issue_comment_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/issues/comments{/number}","contents_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/contents/{+path}","compare_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/merges","archive_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/downloads","issues_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/issues{/number}","pulls_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/pulls{/number}","milestones_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/milestones{/number}","notifications_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/labels{/name}","releases_url":"https://api.github.com/repos/DmitryMyadzelets/Automata/releases{/id}","created_at":"2013-05-19T16:42:08Z","updated_at":"2015-04-20T22:48:51Z","pushed_at":"2015-04-20T22:48:51Z","git_url":"git://github.com/DmitryMyadzelets/Automata.git","ssh_url":"git@github.com:DmitryMyadzelets/Automata.git","clone_url":"https://github.com/DmitryMyadzelets/Automata.git","svn_url":"https://github.com/DmitryMyadzelets/Automata","homepage":"http://automata.discrete.gr","size":368,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"dionyziz:master","ref":"master","sha":"7a3a8529fbf8ae28ab5b0224a8350bebeac26578","user":{"login":"dionyziz","id":544572,"avatar_url":"https://avatars.githubusercontent.com/u/544572?v=3","gravatar_id":"","url":"https://api.github.com/users/dionyziz","html_url":"https://github.com/dionyziz","followers_url":"https://api.github.com/users/dionyziz/followers","following_url":"https://api.github.com/users/dionyziz/following{/other_user}","gists_url":"https://api.github.com/users/dionyziz/gists{/gist_id}","starred_url":"https://api.github.com/users/dionyziz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dionyziz/subscriptions","organizations_url":"https://api.github.com/users/dionyziz/orgs","repos_url":"https://api.github.com/users/dionyziz/repos","events_url":"https://api.github.com/users/dionyziz/events{/privacy}","received_events_url":"https://api.github.com/users/dionyziz/received_events","type":"User","site_admin":false},"repo":{"id":3856349,"name":"Automata","full_name":"dionyziz/Automata","owner":{"login":"dionyziz","id":544572,"avatar_url":"https://avatars.githubusercontent.com/u/544572?v=3","gravatar_id":"","url":"https://api.github.com/users/dionyziz","html_url":"https://github.com/dionyziz","followers_url":"https://api.github.com/users/dionyziz/followers","following_url":"https://api.github.com/users/dionyziz/following{/other_user}","gists_url":"https://api.github.com/users/dionyziz/gists{/gist_id}","starred_url":"https://api.github.com/users/dionyziz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dionyziz/subscriptions","organizations_url":"https://api.github.com/users/dionyziz/orgs","repos_url":"https://api.github.com/users/dionyziz/repos","events_url":"https://api.github.com/users/dionyziz/events{/privacy}","received_events_url":"https://api.github.com/users/dionyziz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dionyziz/Automata","description":"An editor for deterministic finite automata","fork":false,"url":"https://api.github.com/repos/dionyziz/Automata","forks_url":"https://api.github.com/repos/dionyziz/Automata/forks","keys_url":"https://api.github.com/repos/dionyziz/Automata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dionyziz/Automata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dionyziz/Automata/teams","hooks_url":"https://api.github.com/repos/dionyziz/Automata/hooks","issue_events_url":"https://api.github.com/repos/dionyziz/Automata/issues/events{/number}","events_url":"https://api.github.com/repos/dionyziz/Automata/events","assignees_url":"https://api.github.com/repos/dionyziz/Automata/assignees{/user}","branches_url":"https://api.github.com/repos/dionyziz/Automata/branches{/branch}","tags_url":"https://api.github.com/repos/dionyziz/Automata/tags","blobs_url":"https://api.github.com/repos/dionyziz/Automata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dionyziz/Automata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dionyziz/Automata/git/refs{/sha}","trees_url":"https://api.github.com/repos/dionyziz/Automata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dionyziz/Automata/statuses/{sha}","languages_url":"https://api.github.com/repos/dionyziz/Automata/languages","stargazers_url":"https://api.github.com/repos/dionyziz/Automata/stargazers","contributors_url":"https://api.github.com/repos/dionyziz/Automata/contributors","subscribers_url":"https://api.github.com/repos/dionyziz/Automata/subscribers","subscription_url":"https://api.github.com/repos/dionyziz/Automata/subscription","commits_url":"https://api.github.com/repos/dionyziz/Automata/commits{/sha}","git_commits_url":"https://api.github.com/repos/dionyziz/Automata/git/commits{/sha}","comments_url":"https://api.github.com/repos/dionyziz/Automata/comments{/number}","issue_comment_url":"https://api.github.com/repos/dionyziz/Automata/issues/comments{/number}","contents_url":"https://api.github.com/repos/dionyziz/Automata/contents/{+path}","compare_url":"https://api.github.com/repos/dionyziz/Automata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dionyziz/Automata/merges","archive_url":"https://api.github.com/repos/dionyziz/Automata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dionyziz/Automata/downloads","issues_url":"https://api.github.com/repos/dionyziz/Automata/issues{/number}","pulls_url":"https://api.github.com/repos/dionyziz/Automata/pulls{/number}","milestones_url":"https://api.github.com/repos/dionyziz/Automata/milestones{/number}","notifications_url":"https://api.github.com/repos/dionyziz/Automata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dionyziz/Automata/labels{/name}","releases_url":"https://api.github.com/repos/dionyziz/Automata/releases{/id}","created_at":"2012-03-28T15:20:10Z","updated_at":"2015-04-22T12:31:44Z","pushed_at":"2015-04-22T12:31:44Z","git_url":"git://github.com/dionyziz/Automata.git","ssh_url":"git@github.com:dionyziz/Automata.git","clone_url":"https://github.com/dionyziz/Automata.git","svn_url":"https://github.com/dionyziz/Automata","homepage":"http://automata.discrete.gr","size":651,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":20,"forks":10,"open_issues":20,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dionyziz/Automata/pulls/47"},"html":{"href":"https://github.com/dionyziz/Automata/pull/47"},"issue":{"href":"https://api.github.com/repos/dionyziz/Automata/issues/47"},"comments":{"href":"https://api.github.com/repos/dionyziz/Automata/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/dionyziz/Automata/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/dionyziz/Automata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dionyziz/Automata/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/dionyziz/Automata/statuses/5957f418a28913e8eb4c58a474fd36495e11305c"}}}}