{"action":"created","comment":{"url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/comments/92400707","pull_request_review_id":12914016,"id":92400707,"diff_hunk":"@@ -0,0 +1,88 @@\n+'use strict';\n+\n+const path = require('path');\n+const webpack = require('webpack');\n+const HtmlPlugin = require('html-webpack-plugin');\n+const CleanWebpackPlugin = require('clean-webpack-plugin');\n+const ExtractTextPlugin = require('extract-text-webpack-plugin');\n+\n+\n+module.exports = {\n+\tdevtool: 'inline-source-map',\n+\tcache: true,\n+\tentry: {\n+\t\tairdrone: path.resolve(__dirname, 'public/js', 'airdrone.js'),\n+        styles: path.resolve(__dirname, 'public/css', 'style.scss'),\n+\t\tvendor: ['babel-polyfill', 'eventsource-polyfill', 'milligram']\n+\t},\n+\toutput: {\n+\t\tpath: path.resolve(__dirname, 'public/dist'),\n+\t\tfilename: path.join('js', '[name].bundle.js'),\n+\t\t// TODO сделать выбор этого параметра зависящим от переменных окружения\n+\t\t// publicPath: '/dist/' // for development\n+\t\tpublicPath: 'https://s3.eu-central-1.amazonaws.com/technopark-cdn/sample-static/'\n+\t},\n+\tmodule: {\n+\t\tloaders: [\n+\t\t\t{\n+\t\t\t\ttest: /\\.js$/,\n+\t\t\t\texclude: /(node_modules|bower_components|sw.js)/,\n+\t\t\t\tloader: 'babel-loader',\n+\t\t\t\tquery: {\n+\t\t\t\t\tpresets: ['es2015']\n+\t\t\t\t}\n+\t\t\t},\n+\t\t\t{\n+\t\t\t\ttest: /\\.s?css$/,\n+\t\t\t\tloader: ExtractTextPlugin.extract({\n+\t\t\t\t\tfallbackLoader: 'style-loader',\n+                    loader: 'css-loader?minimize!postcss-loader!sass-loader'\n+\t\t\t\t})\n+\t\t\t},\n+\t\t\t{\n+\t\t\t\ttest: /\\.tmpl\\.xml$/,\n+\t\t\t\tloader: 'fest-loader'\n+\t\t\t},\n+\t\t\t{\n+\t\t\t\ttest: /\\/sw.js$/,\n+\t\t\t\tloader: `file?name=${path.join('..', 'index', '[name].[hash].js')}&publicPath=/&outputPath=/`\n+\t\t\t}\n+\t\t]\n+\t},\n+\tresolve: {\n+\t\talias: {}\n+\t},\n+\tresolveLoader: {\n+\t\tmoduleExtensions: ['-loader'],\n+\t\talias: {\n+\t\t\t'fest-loader': path.resolve(__dirname, './fest-loader'),\n+\t\t}\n+\t},\n+\tplugins: [\n+\t\tnew CleanWebpackPlugin(['dist']),\n+\t\tnew webpack.NoErrorsPlugin(),\n+\t\tnew HtmlPlugin({\n+\t\t\tfilename: path.resolve(__dirname, 'index', 'index.html'),\n+\t\t\ttemplate: path.resolve(__dirname, 'public', 'index.html')\n+\t\t}),\n+\t\tnew webpack.optimize.CommonsChunkPlugin({\n+\t\t\tname: 'vendor',\n+\t\t\tfilename: path.join('js', 'airdrone.vendor.js')\n+\t\t}),\n+\t\tnew ExtractTextPlugin(path.join('css', '[name].css')),\n+\t\tnew webpack.optimize.OccurrenceOrderPlugin(),\n+//\t\tnew webpack.optimize.UglifyJsPlugin({","path":"webpack.config.js","position":74,"original_position":74,"commit_id":"3e6d77377571099eca6a3e19dd583c98aefd6e06","original_commit_id":"3e6d77377571099eca6a3e19dd583c98aefd6e06","user":{"login":"burlakilia","id":1249915,"avatar_url":"https://avatars.githubusercontent.com/u/1249915?v=3","gravatar_id":"","url":"https://api.github.com/users/burlakilia","html_url":"https://github.com/burlakilia","followers_url":"https://api.github.com/users/burlakilia/followers","following_url":"https://api.github.com/users/burlakilia/following{/other_user}","gists_url":"https://api.github.com/users/burlakilia/gists{/gist_id}","starred_url":"https://api.github.com/users/burlakilia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burlakilia/subscriptions","organizations_url":"https://api.github.com/users/burlakilia/orgs","repos_url":"https://api.github.com/users/burlakilia/repos","events_url":"https://api.github.com/users/burlakilia/events{/privacy}","received_events_url":"https://api.github.com/users/burlakilia/received_events","type":"User","site_admin":false},"body":"закомментированного кода в репе не должно быть, для этого есть ветки и история в гит","created_at":"2016-12-14T14:17:22Z","updated_at":"2016-12-14T14:24:44Z","html_url":"https://github.com/frontend-park-mail-ru/2016_2_AirDrone/pull/2#discussion_r92400707","pull_request_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/comments/92400707"},"html":{"href":"https://github.com/frontend-park-mail-ru/2016_2_AirDrone/pull/2#discussion_r92400707"},"pull_request":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/2","id":97953037,"html_url":"https://github.com/frontend-park-mail-ru/2016_2_AirDrone/pull/2","diff_url":"https://github.com/frontend-park-mail-ru/2016_2_AirDrone/pull/2.diff","patch_url":"https://github.com/frontend-park-mail-ru/2016_2_AirDrone/pull/2.patch","issue_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/issues/2","number":2,"state":"open","locked":false,"title":"Rk 2 3 41","user":{"login":"romvano","id":13064750,"avatar_url":"https://avatars.githubusercontent.com/u/13064750?v=3","gravatar_id":"","url":"https://api.github.com/users/romvano","html_url":"https://github.com/romvano","followers_url":"https://api.github.com/users/romvano/followers","following_url":"https://api.github.com/users/romvano/following{/other_user}","gists_url":"https://api.github.com/users/romvano/gists{/gist_id}","starred_url":"https://api.github.com/users/romvano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romvano/subscriptions","organizations_url":"https://api.github.com/users/romvano/orgs","repos_url":"https://api.github.com/users/romvano/repos","events_url":"https://api.github.com/users/romvano/events{/privacy}","received_events_url":"https://api.github.com/users/romvano/received_events","type":"User","site_admin":false},"body":"Router, fest, БЭМ, sass, webpack, canvas","created_at":"2016-12-14T13:35:54Z","updated_at":"2016-12-14T14:24:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/2/commits","review_comments_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/2/comments","review_comment_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/issues/2/comments","statuses_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/statuses/3e6d77377571099eca6a3e19dd583c98aefd6e06","head":{"label":"romvano:RK-2-3-41","ref":"RK-2-3-41","sha":"3e6d77377571099eca6a3e19dd583c98aefd6e06","user":{"login":"romvano","id":13064750,"avatar_url":"https://avatars.githubusercontent.com/u/13064750?v=3","gravatar_id":"","url":"https://api.github.com/users/romvano","html_url":"https://github.com/romvano","followers_url":"https://api.github.com/users/romvano/followers","following_url":"https://api.github.com/users/romvano/following{/other_user}","gists_url":"https://api.github.com/users/romvano/gists{/gist_id}","starred_url":"https://api.github.com/users/romvano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romvano/subscriptions","organizations_url":"https://api.github.com/users/romvano/orgs","repos_url":"https://api.github.com/users/romvano/repos","events_url":"https://api.github.com/users/romvano/events{/privacy}","received_events_url":"https://api.github.com/users/romvano/received_events","type":"User","site_admin":false},"repo":{"id":69487100,"name":"2016_2_AirDrone","full_name":"romvano/2016_2_AirDrone","owner":{"login":"romvano","id":13064750,"avatar_url":"https://avatars.githubusercontent.com/u/13064750?v=3","gravatar_id":"","url":"https://api.github.com/users/romvano","html_url":"https://github.com/romvano","followers_url":"https://api.github.com/users/romvano/followers","following_url":"https://api.github.com/users/romvano/following{/other_user}","gists_url":"https://api.github.com/users/romvano/gists{/gist_id}","starred_url":"https://api.github.com/users/romvano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romvano/subscriptions","organizations_url":"https://api.github.com/users/romvano/orgs","repos_url":"https://api.github.com/users/romvano/repos","events_url":"https://api.github.com/users/romvano/events{/privacy}","received_events_url":"https://api.github.com/users/romvano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/romvano/2016_2_AirDrone","description":null,"fork":true,"url":"https://api.github.com/repos/romvano/2016_2_AirDrone","forks_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/forks","keys_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/teams","hooks_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/hooks","issue_events_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/issues/events{/number}","events_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/events","assignees_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/assignees{/user}","branches_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/branches{/branch}","tags_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/tags","blobs_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/git/refs{/sha}","trees_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/statuses/{sha}","languages_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/languages","stargazers_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/stargazers","contributors_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/contributors","subscribers_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/subscribers","subscription_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/subscription","commits_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/commits{/sha}","git_commits_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/git/commits{/sha}","comments_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/comments{/number}","issue_comment_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/issues/comments{/number}","contents_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/contents/{+path}","compare_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/merges","archive_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/downloads","issues_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/issues{/number}","pulls_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/pulls{/number}","milestones_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/milestones{/number}","notifications_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/labels{/name}","releases_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/releases{/id}","deployments_url":"https://api.github.com/repos/romvano/2016_2_AirDrone/deployments","created_at":"2016-09-28T17:27:49Z","updated_at":"2016-09-30T00:48:53Z","pushed_at":"2016-12-14T13:34:27Z","git_url":"git://github.com/romvano/2016_2_AirDrone.git","ssh_url":"git@github.com:romvano/2016_2_AirDrone.git","clone_url":"https://github.com/romvano/2016_2_AirDrone.git","svn_url":"https://github.com/romvano/2016_2_AirDrone","homepage":null,"size":4486,"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":"frontend-park-mail-ru:master","ref":"master","sha":"9000b2cae41aba081234c99659c40ee32a08d74f","user":{"login":"frontend-park-mail-ru","id":16650333,"avatar_url":"https://avatars.githubusercontent.com/u/16650333?v=3","gravatar_id":"","url":"https://api.github.com/users/frontend-park-mail-ru","html_url":"https://github.com/frontend-park-mail-ru","followers_url":"https://api.github.com/users/frontend-park-mail-ru/followers","following_url":"https://api.github.com/users/frontend-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/frontend-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/frontend-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontend-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/frontend-park-mail-ru/orgs","repos_url":"https://api.github.com/users/frontend-park-mail-ru/repos","events_url":"https://api.github.com/users/frontend-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/frontend-park-mail-ru/received_events","type":"Organization","site_admin":false},"repo":{"id":67813079,"name":"2016_2_AirDrone","full_name":"frontend-park-mail-ru/2016_2_AirDrone","owner":{"login":"frontend-park-mail-ru","id":16650333,"avatar_url":"https://avatars.githubusercontent.com/u/16650333?v=3","gravatar_id":"","url":"https://api.github.com/users/frontend-park-mail-ru","html_url":"https://github.com/frontend-park-mail-ru","followers_url":"https://api.github.com/users/frontend-park-mail-ru/followers","following_url":"https://api.github.com/users/frontend-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/frontend-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/frontend-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontend-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/frontend-park-mail-ru/orgs","repos_url":"https://api.github.com/users/frontend-park-mail-ru/repos","events_url":"https://api.github.com/users/frontend-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/frontend-park-mail-ru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/frontend-park-mail-ru/2016_2_AirDrone","description":null,"fork":false,"url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone","forks_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/forks","keys_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/teams","hooks_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/hooks","issue_events_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/issues/events{/number}","events_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/events","assignees_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/assignees{/user}","branches_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/branches{/branch}","tags_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/tags","blobs_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/git/refs{/sha}","trees_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/statuses/{sha}","languages_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/languages","stargazers_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/stargazers","contributors_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/contributors","subscribers_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/subscribers","subscription_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/subscription","commits_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/commits{/sha}","git_commits_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/git/commits{/sha}","comments_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/comments{/number}","issue_comment_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/issues/comments{/number}","contents_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/contents/{+path}","compare_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/merges","archive_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/downloads","issues_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/issues{/number}","pulls_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls{/number}","milestones_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/milestones{/number}","notifications_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/labels{/name}","releases_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/releases{/id}","deployments_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/deployments","created_at":"2016-09-09T16:05:07Z","updated_at":"2016-10-28T15:53:00Z","pushed_at":"2016-12-14T13:35:54Z","git_url":"git://github.com/frontend-park-mail-ru/2016_2_AirDrone.git","ssh_url":"git@github.com:frontend-park-mail-ru/2016_2_AirDrone.git","clone_url":"https://github.com/frontend-park-mail-ru/2016_2_AirDrone.git","svn_url":"https://github.com/frontend-park-mail-ru/2016_2_AirDrone","homepage":null,"size":1044,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/2"},"html":{"href":"https://github.com/frontend-park-mail-ru/2016_2_AirDrone/pull/2"},"issue":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/issues/2"},"comments":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_AirDrone/statuses/3e6d77377571099eca6a3e19dd583c98aefd6e06"}}}}
{"actor":{"display_login":"burlakilia"}}