{"action":"created","comment":{"url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/comments/45559281","id":45559281,"diff_hunk":"@@ -24,19 +33,27 @@\n   };\n \n   /**\n-   * Регулярное выражение, проверяющее тип загружаемого файла. Составляется\n-   * из ключей FileType.\n+   * Регулярное выражение, проверяющее тип загружаемого файла.\n+   * Составляется из ключей FileType.\n+   *\n    * @type {RegExp}\n+   *\n+   * TODO: пример строки?\n    */\n   var fileRegExp = new RegExp('^image/(' + Object.keys(FileType).join('|').replace('\\+', '\\\\+') + ')$', 'i');\n \n   /**\n-   * @type {Object.<string, string>}\n+   * Словарь фильтров\n+   *\n+   *  @type {Object}\n+   *  @example\n+   *  {'sepia': 'filter-sepia'}","path":"js/upload.js","position":48,"original_position":48,"commit_id":"cdc3b1a64fd28291c68b8fc149d78deefd835549","original_commit_id":"cdc3b1a64fd28291c68b8fc149d78deefd835549","user":{"login":"alexbaumgertner","id":223620,"avatar_url":"https://avatars.githubusercontent.com/u/223620?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbaumgertner","html_url":"https://github.com/alexbaumgertner","followers_url":"https://api.github.com/users/alexbaumgertner/followers","following_url":"https://api.github.com/users/alexbaumgertner/following{/other_user}","gists_url":"https://api.github.com/users/alexbaumgertner/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbaumgertner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbaumgertner/subscriptions","organizations_url":"https://api.github.com/users/alexbaumgertner/orgs","repos_url":"https://api.github.com/users/alexbaumgertner/repos","events_url":"https://api.github.com/users/alexbaumgertner/events{/privacy}","received_events_url":"https://api.github.com/users/alexbaumgertner/received_events","type":"User","site_admin":false},"body":"Благодаря этой сроке в webStrom можно по `quick documentation` увидеть\r\n![screenshot at nov 22 16-42-55](https://cloud.githubusercontent.com/assets/223620/11324173/4b2678bc-913b-11e5-9b0a-147ac3099762.png)\r\n","created_at":"2015-11-22T14:06:22Z","updated_at":"2015-11-22T14:06:22Z","html_url":"https://github.com/dmitrylebedev/51265-keksogram/pull/1#discussion_r45559281","pull_request_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/comments/45559281"},"html":{"href":"https://github.com/dmitrylebedev/51265-keksogram/pull/1#discussion_r45559281"},"pull_request":{"href":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/1","id":51465361,"html_url":"https://github.com/dmitrylebedev/51265-keksogram/pull/1","diff_url":"https://github.com/dmitrylebedev/51265-keksogram/pull/1.diff","patch_url":"https://github.com/dmitrylebedev/51265-keksogram/pull/1.patch","issue_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/issues/1","number":1,"state":"open","locked":false,"title":"Добавил комментарии","user":{"login":"alexbaumgertner","id":223620,"avatar_url":"https://avatars.githubusercontent.com/u/223620?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbaumgertner","html_url":"https://github.com/alexbaumgertner","followers_url":"https://api.github.com/users/alexbaumgertner/followers","following_url":"https://api.github.com/users/alexbaumgertner/following{/other_user}","gists_url":"https://api.github.com/users/alexbaumgertner/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbaumgertner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbaumgertner/subscriptions","organizations_url":"https://api.github.com/users/alexbaumgertner/orgs","repos_url":"https://api.github.com/users/alexbaumgertner/repos","events_url":"https://api.github.com/users/alexbaumgertner/events{/privacy}","received_events_url":"https://api.github.com/users/alexbaumgertner/received_events","type":"User","site_admin":false},"body":"Добавил комментарии к коду, поправил форматирование.\r\n\r\n/cc @dmitrylebedev ","created_at":"2015-11-22T13:59:24Z","updated_at":"2015-11-22T14:06:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e6ff09ea6cedf5ba4285e2107bd1a628936d628","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/issues/1/comments","statuses_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/statuses/cdc3b1a64fd28291c68b8fc149d78deefd835549","head":{"label":"alexbaumgertner:feature/comment","ref":"feature/comment","sha":"cdc3b1a64fd28291c68b8fc149d78deefd835549","user":{"login":"alexbaumgertner","id":223620,"avatar_url":"https://avatars.githubusercontent.com/u/223620?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbaumgertner","html_url":"https://github.com/alexbaumgertner","followers_url":"https://api.github.com/users/alexbaumgertner/followers","following_url":"https://api.github.com/users/alexbaumgertner/following{/other_user}","gists_url":"https://api.github.com/users/alexbaumgertner/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbaumgertner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbaumgertner/subscriptions","organizations_url":"https://api.github.com/users/alexbaumgertner/orgs","repos_url":"https://api.github.com/users/alexbaumgertner/repos","events_url":"https://api.github.com/users/alexbaumgertner/events{/privacy}","received_events_url":"https://api.github.com/users/alexbaumgertner/received_events","type":"User","site_admin":false},"repo":{"id":46662654,"name":"51265-keksogram","full_name":"alexbaumgertner/51265-keksogram","owner":{"login":"alexbaumgertner","id":223620,"avatar_url":"https://avatars.githubusercontent.com/u/223620?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbaumgertner","html_url":"https://github.com/alexbaumgertner","followers_url":"https://api.github.com/users/alexbaumgertner/followers","following_url":"https://api.github.com/users/alexbaumgertner/following{/other_user}","gists_url":"https://api.github.com/users/alexbaumgertner/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbaumgertner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbaumgertner/subscriptions","organizations_url":"https://api.github.com/users/alexbaumgertner/orgs","repos_url":"https://api.github.com/users/alexbaumgertner/repos","events_url":"https://api.github.com/users/alexbaumgertner/events{/privacy}","received_events_url":"https://api.github.com/users/alexbaumgertner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexbaumgertner/51265-keksogram","description":"Лебедев Дмитрий","fork":true,"url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram","forks_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/forks","keys_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/teams","hooks_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/hooks","issue_events_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/issues/events{/number}","events_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/events","assignees_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/assignees{/user}","branches_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/branches{/branch}","tags_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/tags","blobs_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/statuses/{sha}","languages_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/languages","stargazers_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/stargazers","contributors_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/contributors","subscribers_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/subscribers","subscription_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/subscription","commits_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/contents/{+path}","compare_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/merges","archive_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/downloads","issues_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/issues{/number}","pulls_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/pulls{/number}","milestones_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/milestones{/number}","notifications_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/labels{/name}","releases_url":"https://api.github.com/repos/alexbaumgertner/51265-keksogram/releases{/id}","created_at":"2015-11-22T13:50:47Z","updated_at":"2015-11-22T13:50:48Z","pushed_at":"2015-11-22T13:59:12Z","git_url":"git://github.com/alexbaumgertner/51265-keksogram.git","ssh_url":"git@github.com:alexbaumgertner/51265-keksogram.git","clone_url":"https://github.com/alexbaumgertner/51265-keksogram.git","svn_url":"https://github.com/alexbaumgertner/51265-keksogram","homepage":null,"size":3788,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"dmitrylebedev:module3-task1","ref":"module3-task1","sha":"980335b05e46263ef942eac117e31bfa661a37d4","user":{"login":"dmitrylebedev","id":9784329,"avatar_url":"https://avatars.githubusercontent.com/u/9784329?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrylebedev","html_url":"https://github.com/dmitrylebedev","followers_url":"https://api.github.com/users/dmitrylebedev/followers","following_url":"https://api.github.com/users/dmitrylebedev/following{/other_user}","gists_url":"https://api.github.com/users/dmitrylebedev/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrylebedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrylebedev/subscriptions","organizations_url":"https://api.github.com/users/dmitrylebedev/orgs","repos_url":"https://api.github.com/users/dmitrylebedev/repos","events_url":"https://api.github.com/users/dmitrylebedev/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrylebedev/received_events","type":"User","site_admin":false},"repo":{"id":46170739,"name":"51265-keksogram","full_name":"dmitrylebedev/51265-keksogram","owner":{"login":"dmitrylebedev","id":9784329,"avatar_url":"https://avatars.githubusercontent.com/u/9784329?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrylebedev","html_url":"https://github.com/dmitrylebedev","followers_url":"https://api.github.com/users/dmitrylebedev/followers","following_url":"https://api.github.com/users/dmitrylebedev/following{/other_user}","gists_url":"https://api.github.com/users/dmitrylebedev/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrylebedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrylebedev/subscriptions","organizations_url":"https://api.github.com/users/dmitrylebedev/orgs","repos_url":"https://api.github.com/users/dmitrylebedev/repos","events_url":"https://api.github.com/users/dmitrylebedev/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrylebedev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmitrylebedev/51265-keksogram","description":"Лебедев Дмитрий","fork":true,"url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram","forks_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/forks","keys_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/teams","hooks_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/hooks","issue_events_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/issues/events{/number}","events_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/events","assignees_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/assignees{/user}","branches_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/branches{/branch}","tags_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/tags","blobs_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/statuses/{sha}","languages_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/languages","stargazers_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/stargazers","contributors_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/contributors","subscribers_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/subscribers","subscription_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/subscription","commits_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/contents/{+path}","compare_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/merges","archive_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/downloads","issues_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/issues{/number}","pulls_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls{/number}","milestones_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/milestones{/number}","notifications_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/labels{/name}","releases_url":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/releases{/id}","created_at":"2015-11-14T10:41:18Z","updated_at":"2015-11-14T10:41:19Z","pushed_at":"2015-11-22T13:59:25Z","git_url":"git://github.com/dmitrylebedev/51265-keksogram.git","ssh_url":"git@github.com:dmitrylebedev/51265-keksogram.git","clone_url":"https://github.com/dmitrylebedev/51265-keksogram.git","svn_url":"https://github.com/dmitrylebedev/51265-keksogram","homepage":null,"size":3778,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/1"},"html":{"href":"https://github.com/dmitrylebedev/51265-keksogram/pull/1"},"issue":{"href":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/issues/1"},"comments":{"href":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dmitrylebedev/51265-keksogram/statuses/cdc3b1a64fd28291c68b8fc149d78deefd835549"}}}}