{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/106520806","pull_request_review_id":27447944,"id":106520806,"diff_hunk":"@@ -0,0 +1,107 @@\n+var gulp = require('gulp');\n+var uglify = require('gulp-uglify');\n+var babel = require('gulp-babel');\n+var concat = require('gulp-concat');\n+var minify = require('gulp-minify-css');\n+var htmlmin = require('gulp-htmlmin');\n+var iife = require('gulp-iife');\n+var clean = require('gulp-clean');\n+var exports = module.exports = {};\n+\n+exports.minifyJs = function (path, cb) {\n+  var dir = path + \"/js/\";\n+\n+  gulp.task('scheduleJs', function() {\n+\n+    return gulp.src([dir + 'social.js', dir + 'scroll.js', dir + 'navbar.js', dir + 'jquery.lazyload.js'])\n+    .pipe(iife({ useStrict : false}))\n+    .pipe(concat('schedule.min.js'))\n+    .pipe(babel({ presets: ['es2015'] }))\n+    .pipe(uglify().on('error', function(e) {\n+        console.log(\"Error while compiling speakers.js\");\n+    }))\n+    .pipe(gulp.dest(path + '/js/'));\n+  });\n+\n+  gulp.task('tracksJs', function() {\n+\n+    return gulp.src([dir + 'social.js', dir + 'scroll.js', dir + 'navbar.js', dir + 'tabs.js', dir + 'jquery.lazyload.js'])\n+    .pipe(iife({ useStrict : false}))\n+    .pipe(concat('tracks.min.js'))\n+    .pipe(babel({ presets: ['es2015'] }))\n+    .pipe(uglify().on('error', function(e) {\n+        console.log(\"Error while compiling speakers.js\");\n+    }))\n+    .pipe(gulp.dest(path + '/js/'));\n+  });\n+\n+  gulp.task('eventJs', function() {\n+\n+    return gulp.src([dir + 'map.js', dir + 'scroll.js', dir + 'navbar.js', dir + 'popover.js', dir + 'loklak-fetcher.js', dir + 'tweets.js', dir + 'jquery.lazyload.js'])\n+    .pipe(iife({ useStrict : false}))\n+    .pipe(concat('event.min.js'))\n+    .pipe(babel({ presets: ['es2015'] }))\n+    .pipe(uglify().on('error', function(e) {\n+        console.log(\"Error while compiling speakers.js\");","path":"src/backend/gulpfile.js","position":45,"original_position":45,"commit_id":"93641ea4c28d5fb619c9b2dc2dd710ba47a18a20","original_commit_id":"93641ea4c28d5fb619c9b2dc2dd710ba47a18a20","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars3.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unexpected console statement   no-console","created_at":"2017-03-16T20:17:42Z","updated_at":"2017-03-16T20:17:43Z","html_url":"https://github.com/fossasia/open-event-webapp/pull/1183#discussion_r106520806","pull_request_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1183","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/106520806"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/1183#discussion_r106520806"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1183"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1183","id":111156206,"html_url":"https://github.com/fossasia/open-event-webapp/pull/1183","diff_url":"https://github.com/fossasia/open-event-webapp/pull/1183.diff","patch_url":"https://github.com/fossasia/open-event-webapp/pull/1183.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/1183","number":1183,"state":"open","locked":false,"title":"Adds gulp integration for issue #1105","user":{"login":"geekyd","id":12807846,"avatar_url":"https://avatars1.githubusercontent.com/u/12807846?v=3","gravatar_id":"","url":"https://api.github.com/users/geekyd","html_url":"https://github.com/geekyd","followers_url":"https://api.github.com/users/geekyd/followers","following_url":"https://api.github.com/users/geekyd/following{/other_user}","gists_url":"https://api.github.com/users/geekyd/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyd/subscriptions","organizations_url":"https://api.github.com/users/geekyd/orgs","repos_url":"https://api.github.com/users/geekyd/repos","events_url":"https://api.github.com/users/geekyd/events{/privacy}","received_events_url":"https://api.github.com/users/geekyd/received_events","type":"User","site_admin":false},"body":"Adds gulp minification of \r\n\r\n- All the js, css and html files\r\n- Concatinates js files for each page and reduces the number of requests for js files\r\n- Improves the pagespeed score for the webapp.\r\n\r\nPlease check pagespeed screenshots.\r\nScreenshots: \r\n**Before**\r\n![screen shot 2017-03-17 at 1 45 50 am](https://cloud.githubusercontent.com/assets/12807846/24016791/83411e58-0ab3-11e7-908c-f0d4aa15d988.png)\r\n![screen shot 2017-03-17 at 1 46 00 am](https://cloud.githubusercontent.com/assets/12807846/24016792/834e6586-0ab3-11e7-80ab-cfdb9c0b11b4.png)\r\n\r\n**After**\r\n![screen shot 2017-03-17 at 1 41 23 am](https://cloud.githubusercontent.com/assets/12807846/24016685/262ff89c-0ab3-11e7-8fb0-de9410a3b263.png)\r\n![screen shot 2017-03-17 at 1 41 37 am](https://cloud.githubusercontent.com/assets/12807846/24016686/2639a2fc-0ab3-11e7-9dad-2073ecf6d5b4.png)\r\n","created_at":"2017-03-16T20:17:30Z","updated_at":"2017-03-16T20:17:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9aedd4160d7250f20852606a156d265e3b27496","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1183/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1183/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/1183/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/93641ea4c28d5fb619c9b2dc2dd710ba47a18a20","head":{"label":"geekyd:gulpify","ref":"gulpify","sha":"93641ea4c28d5fb619c9b2dc2dd710ba47a18a20","user":{"login":"geekyd","id":12807846,"avatar_url":"https://avatars1.githubusercontent.com/u/12807846?v=3","gravatar_id":"","url":"https://api.github.com/users/geekyd","html_url":"https://github.com/geekyd","followers_url":"https://api.github.com/users/geekyd/followers","following_url":"https://api.github.com/users/geekyd/following{/other_user}","gists_url":"https://api.github.com/users/geekyd/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyd/subscriptions","organizations_url":"https://api.github.com/users/geekyd/orgs","repos_url":"https://api.github.com/users/geekyd/repos","events_url":"https://api.github.com/users/geekyd/events{/privacy}","received_events_url":"https://api.github.com/users/geekyd/received_events","type":"User","site_admin":false},"repo":{"id":78554834,"name":"open-event-webapp","full_name":"geekyd/open-event-webapp","owner":{"login":"geekyd","id":12807846,"avatar_url":"https://avatars1.githubusercontent.com/u/12807846?v=3","gravatar_id":"","url":"https://api.github.com/users/geekyd","html_url":"https://github.com/geekyd","followers_url":"https://api.github.com/users/geekyd/followers","following_url":"https://api.github.com/users/geekyd/following{/other_user}","gists_url":"https://api.github.com/users/geekyd/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyd/subscriptions","organizations_url":"https://api.github.com/users/geekyd/orgs","repos_url":"https://api.github.com/users/geekyd/repos","events_url":"https://api.github.com/users/geekyd/events{/privacy}","received_events_url":"https://api.github.com/users/geekyd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geekyd/open-event-webapp","description":"Open Event Web App Generator http://opev-webgen-dev.herokuapp.com","fork":true,"url":"https://api.github.com/repos/geekyd/open-event-webapp","forks_url":"https://api.github.com/repos/geekyd/open-event-webapp/forks","keys_url":"https://api.github.com/repos/geekyd/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geekyd/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geekyd/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/geekyd/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/geekyd/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/geekyd/open-event-webapp/events","assignees_url":"https://api.github.com/repos/geekyd/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/geekyd/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/geekyd/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/geekyd/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geekyd/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geekyd/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/geekyd/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geekyd/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/geekyd/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/geekyd/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/geekyd/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/geekyd/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/geekyd/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/geekyd/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/geekyd/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/geekyd/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/geekyd/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/geekyd/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/geekyd/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geekyd/open-event-webapp/merges","archive_url":"https://api.github.com/repos/geekyd/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geekyd/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/geekyd/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/geekyd/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/geekyd/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/geekyd/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geekyd/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/geekyd/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/geekyd/open-event-webapp/deployments","created_at":"2017-01-10T17:02:32Z","updated_at":"2017-01-10T17:02:35Z","pushed_at":"2017-03-16T20:06:24Z","git_url":"git://github.com/geekyd/open-event-webapp.git","ssh_url":"git@github.com:geekyd/open-event-webapp.git","clone_url":"https://github.com/geekyd/open-event-webapp.git","svn_url":"https://github.com/geekyd/open-event-webapp","homepage":"http://fossasia.github.io/open-event-webapp/","size":51173,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"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":"development"}},"base":{"label":"fossasia:development","ref":"development","sha":"d57a439bb32a845ecac7dcbc6e93cd966ff231e0","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars0.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35269905,"name":"open-event-webapp","full_name":"fossasia/open-event-webapp","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars0.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-webapp","description":"Open Event Web App Generator http://opev-webgen-dev.herokuapp.com","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-webapp","forks_url":"https://api.github.com/repos/fossasia/open-event-webapp/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-webapp/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-webapp/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-webapp/deployments","created_at":"2015-05-08T09:11:00Z","updated_at":"2017-03-16T16:32:14Z","pushed_at":"2017-03-16T20:17:30Z","git_url":"git://github.com/fossasia/open-event-webapp.git","ssh_url":"git@github.com:fossasia/open-event-webapp.git","clone_url":"https://github.com/fossasia/open-event-webapp.git","svn_url":"https://github.com/fossasia/open-event-webapp","homepage":"http://fossasia.github.io/open-event-webapp/","size":94698,"stargazers_count":188,"watchers_count":188,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":222,"mirror_url":null,"open_issues_count":41,"forks":222,"open_issues":41,"watchers":188,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1183"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/1183"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/1183"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/1183/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1183/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/1183/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/93641ea4c28d5fb619c9b2dc2dd710ba47a18a20"}}}}
{"actor":{"display_login":"houndci-bot"}}