{"action":"created","comment":{"url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments/48178788","id":48178788,"diff_hunk":"@@ -1,83 +1,2 @@\n-/* eslint-disable no-var */\n require('babel-core/register');\n-\n-var paths = require('./paths');\n-var statConfig = require('./webpack-stats');\n-var friendlyFormatter = require('eslint-friendly-formatter');\n-var exitPlugin = require('./webpack-exit-plugin');\n-var ENV = require('./ENV');\n-\n-/**\n- * This config is for running tests on the command line and will fail on errors.\n- * @param {{}} config Karma config object.\n- * @type {{}}\n- */\n-module.exports = function(config) {\n-  config.set({\n-    browsers: ['PhantomJS'],\n-    singleRun: !ENV.isDevelopment(),\n-    reporters: [ENV.isDevelopment() ? 'mocha' : 'dots'],\n-    files: [\n-      './node_modules/phantomjs-polyfill/bind-polyfill.js',\n-      './test/tests.bundle.js'\n-    ],\n-    frameworks: [\n-      'mocha'\n-    ],\n-    preprocessors: {\n-      '**/*.bundle.js': ['webpack', 'sourcemap']\n-    },\n-    client: {\n-      mocha: {\n-        // require: '',\n-        reporter: 'html',   // change Karma's debug.html to mocha web reporter\n-        ui: 'bdd'\n-      }\n-    },\n-    webpack: {\n-      // karma watches the test entry points\n-      // (you don't need to specify the entry option)\n-      // webpack watches dependencies\n-      devtool: 'inline-source-map',\n-      eslint: {\n-        formatter: friendlyFormatter,\n-      },\n-      module: {\n-        loaders: [\n-          {\n-            test: /\\.js$/,\n-            loaders: ['babel', 'eslint'],\n-            exclude: paths.node_modules\n-          },\n-          {\n-            test: /\\.json$/,\n-            loaders: ['json'],\n-            exclude: paths.node_modules\n-          }\n-        ]\n-      },\n-      resolve: {\n-        root: paths.root,\n-        modulesDirectories: [\n-          'node_modules',\n-          '.',\n-        ],\n-        alias: {\n-          // When these key names are require()'d, the value will be supplied instead\n-          jquery: paths.testMocks + '/SemanticjQuery-mock.js',\n-          stardust: paths.src + '/index.js',\n-        },\n-      },\n-      plugins: !ENV.isDevelopment()\n-        ? [exitPlugin]\n-        : [],\n-    },\n-    webpackServer: {\n-      progress: false,\n-      stats: statConfig,\n-      debug: true,\n-      noInfo: true,\n-      quiet: false\n-    }\n-  });\n-};\n+module.exports = require('./karma.conf.babel');","path":"karma.conf.js","position":84,"original_position":84,"commit_id":"146bd792ce3ed7134b2c230327b6d1d30991f412","original_commit_id":"146bd792ce3ed7134b2c230327b6d1d30991f412","user":{"login":"levithomason","id":5067638,"avatar_url":"https://avatars.githubusercontent.com/u/5067638?v=3","gravatar_id":"","url":"https://api.github.com/users/levithomason","html_url":"https://github.com/levithomason","followers_url":"https://api.github.com/users/levithomason/followers","following_url":"https://api.github.com/users/levithomason/following{/other_user}","gists_url":"https://api.github.com/users/levithomason/gists{/gist_id}","starred_url":"https://api.github.com/users/levithomason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levithomason/subscriptions","organizations_url":"https://api.github.com/users/levithomason/orgs","repos_url":"https://api.github.com/users/levithomason/repos","events_url":"https://api.github.com/users/levithomason/events{/privacy}","received_events_url":"https://api.github.com/users/levithomason/received_events","type":"User","site_admin":false},"body":"We simply import our `karma.conf.babel.js` file after invoking the babel register hook.  So we can write our karma conf in future ES.","created_at":"2015-12-21T19:08:29Z","updated_at":"2015-12-21T19:08:29Z","html_url":"https://github.com/TechnologyAdvice/stardust/pull/132#discussion_r48178788","pull_request_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/132","_links":{"self":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments/48178788"},"html":{"href":"https://github.com/TechnologyAdvice/stardust/pull/132#discussion_r48178788"},"pull_request":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/132"}}},"pull_request":{"url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/132","id":54141732,"html_url":"https://github.com/TechnologyAdvice/stardust/pull/132","diff_url":"https://github.com/TechnologyAdvice/stardust/pull/132.diff","patch_url":"https://github.com/TechnologyAdvice/stardust/pull/132.patch","issue_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/132","number":132,"state":"open","locked":false,"title":"Upgrade to babel6","user":{"login":"levithomason","id":5067638,"avatar_url":"https://avatars.githubusercontent.com/u/5067638?v=3","gravatar_id":"","url":"https://api.github.com/users/levithomason","html_url":"https://github.com/levithomason","followers_url":"https://api.github.com/users/levithomason/followers","following_url":"https://api.github.com/users/levithomason/following{/other_user}","gists_url":"https://api.github.com/users/levithomason/gists{/gist_id}","starred_url":"https://api.github.com/users/levithomason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levithomason/subscriptions","organizations_url":"https://api.github.com/users/levithomason/orgs","repos_url":"https://api.github.com/users/levithomason/repos","events_url":"https://api.github.com/users/levithomason/events{/privacy}","received_events_url":"https://api.github.com/users/levithomason/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-18T19:43:00Z","updated_at":"2015-12-21T19:08:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1a15705fba427c3196050f55e5410a0fb9db11c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/132/commits","review_comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/132/comments","review_comment_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/132/comments","statuses_url":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/146bd792ce3ed7134b2c230327b6d1d30991f412","head":{"label":"TechnologyAdvice:feature/babel6","ref":"feature/babel6","sha":"146bd792ce3ed7134b2c230327b6d1d30991f412","user":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"repo":{"id":37734226,"name":"stardust","full_name":"TechnologyAdvice/stardust","owner":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechnologyAdvice/stardust","description":"React component library based on Semantic UI","fork":false,"url":"https://api.github.com/repos/TechnologyAdvice/stardust","forks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/forks","keys_url":"https://api.github.com/repos/TechnologyAdvice/stardust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechnologyAdvice/stardust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechnologyAdvice/stardust/teams","hooks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/hooks","issue_events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/events{/number}","events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/events","assignees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/assignees{/user}","branches_url":"https://api.github.com/repos/TechnologyAdvice/stardust/branches{/branch}","tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/tags","blobs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/{sha}","languages_url":"https://api.github.com/repos/TechnologyAdvice/stardust/languages","stargazers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/stargazers","contributors_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contributors","subscribers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscribers","subscription_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscription","commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contents/{+path}","compare_url":"https://api.github.com/repos/TechnologyAdvice/stardust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechnologyAdvice/stardust/merges","archive_url":"https://api.github.com/repos/TechnologyAdvice/stardust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechnologyAdvice/stardust/downloads","issues_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues{/number}","pulls_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls{/number}","milestones_url":"https://api.github.com/repos/TechnologyAdvice/stardust/milestones{/number}","notifications_url":"https://api.github.com/repos/TechnologyAdvice/stardust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechnologyAdvice/stardust/labels{/name}","releases_url":"https://api.github.com/repos/TechnologyAdvice/stardust/releases{/id}","created_at":"2015-06-19T16:47:19Z","updated_at":"2015-12-20T18:15:34Z","pushed_at":"2015-12-21T18:58:24Z","git_url":"git://github.com/TechnologyAdvice/stardust.git","ssh_url":"git@github.com:TechnologyAdvice/stardust.git","clone_url":"https://github.com/TechnologyAdvice/stardust.git","svn_url":"https://github.com/TechnologyAdvice/stardust","homepage":"https://technologyadvice.github.io/stardust","size":2139,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":32,"default_branch":"master"}},"base":{"label":"TechnologyAdvice:master","ref":"master","sha":"649c04964a698d24352a8fdd495b65290da92bdf","user":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"repo":{"id":37734226,"name":"stardust","full_name":"TechnologyAdvice/stardust","owner":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechnologyAdvice/stardust","description":"React component library based on Semantic UI","fork":false,"url":"https://api.github.com/repos/TechnologyAdvice/stardust","forks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/forks","keys_url":"https://api.github.com/repos/TechnologyAdvice/stardust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechnologyAdvice/stardust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechnologyAdvice/stardust/teams","hooks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/hooks","issue_events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/events{/number}","events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/events","assignees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/assignees{/user}","branches_url":"https://api.github.com/repos/TechnologyAdvice/stardust/branches{/branch}","tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/tags","blobs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/{sha}","languages_url":"https://api.github.com/repos/TechnologyAdvice/stardust/languages","stargazers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/stargazers","contributors_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contributors","subscribers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscribers","subscription_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscription","commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contents/{+path}","compare_url":"https://api.github.com/repos/TechnologyAdvice/stardust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechnologyAdvice/stardust/merges","archive_url":"https://api.github.com/repos/TechnologyAdvice/stardust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechnologyAdvice/stardust/downloads","issues_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues{/number}","pulls_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls{/number}","milestones_url":"https://api.github.com/repos/TechnologyAdvice/stardust/milestones{/number}","notifications_url":"https://api.github.com/repos/TechnologyAdvice/stardust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechnologyAdvice/stardust/labels{/name}","releases_url":"https://api.github.com/repos/TechnologyAdvice/stardust/releases{/id}","created_at":"2015-06-19T16:47:19Z","updated_at":"2015-12-20T18:15:34Z","pushed_at":"2015-12-21T18:58:24Z","git_url":"git://github.com/TechnologyAdvice/stardust.git","ssh_url":"git@github.com:TechnologyAdvice/stardust.git","clone_url":"https://github.com/TechnologyAdvice/stardust.git","svn_url":"https://github.com/TechnologyAdvice/stardust","homepage":"https://technologyadvice.github.io/stardust","size":2139,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/132"},"html":{"href":"https://github.com/TechnologyAdvice/stardust/pull/132"},"issue":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/132"},"comments":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/146bd792ce3ed7134b2c230327b6d1d30991f412"}}}}