{"action":"created","comment":{"url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/comments/47633696","id":47633696,"diff_hunk":"@@ -1,63 +1,65 @@\n-'use strict';\n-// import all our dependencies\n-import gulp from 'gulp';\n-import rimraf from 'rimraf';\n-import run from 'run-sequence';\n-import watch from 'gulp-watch';\n-import server from 'gulp-live-server';\n-import jasmine from 'gulp-jasmine';\n-import babel from 'gulp-babel';\n-\n-const paths = {\n-  js: ['./src/**/*.js'],\n-  destination: 'maktaba',\n-  test: {\n-    bend: ['./maktaba/tests/**/*.spec.js'],\n-    fend: []\n-  }\n-};\n-\n-let express;\n-\n-gulp.task('default', cb => {\n-  run('server', 'build', 'watch', cb);\n-});\n-\n-gulp.task('test', cb => {\n-  run('server', 'babel', 'test:bend', cb);\n-});\n-\n-gulp.task('build', cb => {\n-  run('clean', 'babel', 'restart', cb);\n-});\n-\n-gulp.task('clean', cb => {\n-  rimraf(paths.destination, cb);\n-});\n-\n-gulp.task('test:bend', function() {\n-  return gulp.src(paths.test.bend)\n-    // gulp-jasmine works on filepaths so you can't have any plugins before it\n-    .pipe(jasmine());\n-});\n-\n-gulp.task('babel', () => {\n-  return gulp.src(paths.js)\n-    .pipe(babel())\n-    .pipe(gulp.dest(paths.destination));\n-});\n-\n-\n-gulp.task('server', () => {\n-  express = server.new(paths.destination);\n-});\n-\n-gulp.task('restart', () => {\n-  express.start.bind(express)();\n-});\n-\n-gulp.task('watch', () => {\n-  return watch(paths.js, () => {\n-    gulp.start('build');\n-  });\n-});\n+(() => {\n+  'use strict';\n+  // import all our dependencies\n+  import gulp from 'gulp';\n+  import rimraf from 'rimraf';\n+  import run from 'run-sequence';\n+  import watch from 'gulp-watch';\n+  import server from 'gulp-live-server';\n+  import jasmine from 'gulp-jasmine';\n+  import babel from 'gulp-babel';\n+\n+  const paths = {\n+    js: ['./src/**/*.js'],\n+    destination: 'maktaba',\n+    test: {\n+      bend: ['./maktaba/tests/**/*.spec.js'],\n+      fend: []\n+    }\n+  };\n+\n+  let express;","path":"gulpfile.babel.js","position":84,"original_position":84,"commit_id":"dfeb98ea6f32241f338e18fac6845c0f3c650de0","original_commit_id":"dfeb98ea6f32241f338e18fac6845c0f3c650de0","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"'let' is available in ES6 (use esnext option) or Mozilla JS extensions (use moz).","created_at":"2015-12-15T13:14:46Z","updated_at":"2015-12-15T13:14:46Z","html_url":"https://github.com/Andela-thomas/Express-app-Es6-/pull/1#discussion_r47633696","pull_request_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/comments/47633696"},"html":{"href":"https://github.com/Andela-thomas/Express-app-Es6-/pull/1#discussion_r47633696"},"pull_request":{"href":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/1","id":53699164,"html_url":"https://github.com/Andela-thomas/Express-app-Es6-/pull/1","diff_url":"https://github.com/Andela-thomas/Express-app-Es6-/pull/1.diff","patch_url":"https://github.com/Andela-thomas/Express-app-Es6-/pull/1.patch","issue_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/issues/1","number":1,"state":"open","locked":false,"title":"Merge feature/bend-test to develop","user":{"login":"Andela-thomas","id":12892110,"avatar_url":"https://avatars.githubusercontent.com/u/12892110?v=3","gravatar_id":"","url":"https://api.github.com/users/Andela-thomas","html_url":"https://github.com/Andela-thomas","followers_url":"https://api.github.com/users/Andela-thomas/followers","following_url":"https://api.github.com/users/Andela-thomas/following{/other_user}","gists_url":"https://api.github.com/users/Andela-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/Andela-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andela-thomas/subscriptions","organizations_url":"https://api.github.com/users/Andela-thomas/orgs","repos_url":"https://api.github.com/users/Andela-thomas/repos","events_url":"https://api.github.com/users/Andela-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/Andela-thomas/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-15T12:53:44Z","updated_at":"2015-12-15T13:14:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"474eaab835809973f3478e1d8813e6cdd482b057","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/issues/1/comments","statuses_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/statuses/dfeb98ea6f32241f338e18fac6845c0f3c650de0","head":{"label":"Andela-thomas:feature/bend-test","ref":"feature/bend-test","sha":"dfeb98ea6f32241f338e18fac6845c0f3c650de0","user":{"login":"Andela-thomas","id":12892110,"avatar_url":"https://avatars.githubusercontent.com/u/12892110?v=3","gravatar_id":"","url":"https://api.github.com/users/Andela-thomas","html_url":"https://github.com/Andela-thomas","followers_url":"https://api.github.com/users/Andela-thomas/followers","following_url":"https://api.github.com/users/Andela-thomas/following{/other_user}","gists_url":"https://api.github.com/users/Andela-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/Andela-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andela-thomas/subscriptions","organizations_url":"https://api.github.com/users/Andela-thomas/orgs","repos_url":"https://api.github.com/users/Andela-thomas/repos","events_url":"https://api.github.com/users/Andela-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/Andela-thomas/received_events","type":"User","site_admin":false},"repo":{"id":47978640,"name":"Express-app-Es6-","full_name":"Andela-thomas/Express-app-Es6-","owner":{"login":"Andela-thomas","id":12892110,"avatar_url":"https://avatars.githubusercontent.com/u/12892110?v=3","gravatar_id":"","url":"https://api.github.com/users/Andela-thomas","html_url":"https://github.com/Andela-thomas","followers_url":"https://api.github.com/users/Andela-thomas/followers","following_url":"https://api.github.com/users/Andela-thomas/following{/other_user}","gists_url":"https://api.github.com/users/Andela-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/Andela-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andela-thomas/subscriptions","organizations_url":"https://api.github.com/users/Andela-thomas/orgs","repos_url":"https://api.github.com/users/Andela-thomas/repos","events_url":"https://api.github.com/users/Andela-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/Andela-thomas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Andela-thomas/Express-app-Es6-","description":"Document management system Api using Es6","fork":false,"url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-","forks_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/forks","keys_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/teams","hooks_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/hooks","issue_events_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/issues/events{/number}","events_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/events","assignees_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/assignees{/user}","branches_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/branches{/branch}","tags_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/tags","blobs_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/git/refs{/sha}","trees_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/statuses/{sha}","languages_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/languages","stargazers_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/stargazers","contributors_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/contributors","subscribers_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/subscribers","subscription_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/subscription","commits_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/commits{/sha}","git_commits_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/git/commits{/sha}","comments_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/comments{/number}","issue_comment_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/issues/comments{/number}","contents_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/contents/{+path}","compare_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/merges","archive_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/downloads","issues_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/issues{/number}","pulls_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls{/number}","milestones_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/milestones{/number}","notifications_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/labels{/name}","releases_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/releases{/id}","created_at":"2015-12-14T14:06:02Z","updated_at":"2015-12-14T14:07:46Z","pushed_at":"2015-12-15T13:14:40Z","git_url":"git://github.com/Andela-thomas/Express-app-Es6-.git","ssh_url":"git@github.com:Andela-thomas/Express-app-Es6-.git","clone_url":"https://github.com/Andela-thomas/Express-app-Es6-.git","svn_url":"https://github.com/Andela-thomas/Express-app-Es6-","homepage":null,"size":9949,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"Andela-thomas:develop","ref":"develop","sha":"8729dbac26154147490e256f3711133f01e85200","user":{"login":"Andela-thomas","id":12892110,"avatar_url":"https://avatars.githubusercontent.com/u/12892110?v=3","gravatar_id":"","url":"https://api.github.com/users/Andela-thomas","html_url":"https://github.com/Andela-thomas","followers_url":"https://api.github.com/users/Andela-thomas/followers","following_url":"https://api.github.com/users/Andela-thomas/following{/other_user}","gists_url":"https://api.github.com/users/Andela-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/Andela-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andela-thomas/subscriptions","organizations_url":"https://api.github.com/users/Andela-thomas/orgs","repos_url":"https://api.github.com/users/Andela-thomas/repos","events_url":"https://api.github.com/users/Andela-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/Andela-thomas/received_events","type":"User","site_admin":false},"repo":{"id":47978640,"name":"Express-app-Es6-","full_name":"Andela-thomas/Express-app-Es6-","owner":{"login":"Andela-thomas","id":12892110,"avatar_url":"https://avatars.githubusercontent.com/u/12892110?v=3","gravatar_id":"","url":"https://api.github.com/users/Andela-thomas","html_url":"https://github.com/Andela-thomas","followers_url":"https://api.github.com/users/Andela-thomas/followers","following_url":"https://api.github.com/users/Andela-thomas/following{/other_user}","gists_url":"https://api.github.com/users/Andela-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/Andela-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andela-thomas/subscriptions","organizations_url":"https://api.github.com/users/Andela-thomas/orgs","repos_url":"https://api.github.com/users/Andela-thomas/repos","events_url":"https://api.github.com/users/Andela-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/Andela-thomas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Andela-thomas/Express-app-Es6-","description":"Document management system Api using Es6","fork":false,"url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-","forks_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/forks","keys_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/teams","hooks_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/hooks","issue_events_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/issues/events{/number}","events_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/events","assignees_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/assignees{/user}","branches_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/branches{/branch}","tags_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/tags","blobs_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/git/refs{/sha}","trees_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/statuses/{sha}","languages_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/languages","stargazers_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/stargazers","contributors_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/contributors","subscribers_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/subscribers","subscription_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/subscription","commits_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/commits{/sha}","git_commits_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/git/commits{/sha}","comments_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/comments{/number}","issue_comment_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/issues/comments{/number}","contents_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/contents/{+path}","compare_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/merges","archive_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/downloads","issues_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/issues{/number}","pulls_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls{/number}","milestones_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/milestones{/number}","notifications_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/labels{/name}","releases_url":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/releases{/id}","created_at":"2015-12-14T14:06:02Z","updated_at":"2015-12-14T14:07:46Z","pushed_at":"2015-12-15T13:14:40Z","git_url":"git://github.com/Andela-thomas/Express-app-Es6-.git","ssh_url":"git@github.com:Andela-thomas/Express-app-Es6-.git","clone_url":"https://github.com/Andela-thomas/Express-app-Es6-.git","svn_url":"https://github.com/Andela-thomas/Express-app-Es6-","homepage":null,"size":9949,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/1"},"html":{"href":"https://github.com/Andela-thomas/Express-app-Es6-/pull/1"},"issue":{"href":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/issues/1"},"comments":{"href":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Andela-thomas/Express-app-Es6-/statuses/dfeb98ea6f32241f338e18fac6845c0f3c650de0"}}}}