Skip to content

Commit

Permalink
Signup: Convert from CommonJS to ES6 exports
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnmoon authored and drewblaisdell committed Mar 17, 2017
1 parent 907edf7 commit 9403f8d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client/signup/config/step-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import UserSignupComponent from 'signup/steps/user';
import PlansStepWithoutFreePlan from 'signup/steps/plans-without-free';


module.exports = {
export default {
'design-type': DesignTypeComponent,
'design-type-with-store': DesignTypeWithStoreComponent,
domains: DomainsStepComponent,
Expand Down
2 changes: 1 addition & 1 deletion client/signup/config/steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import i18n from 'i18n-calypso';
*/
import stepActions from 'lib/signup/step-actions';

module.exports = {
export default {
survey: {
stepName: 'survey',
props: {
Expand Down
2 changes: 1 addition & 1 deletion client/signup/config/test/lib/signup/step-actions.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// step-actions stub
module.exports = {};
export default {};
2 changes: 1 addition & 1 deletion client/signup/config/test/lib/user/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* User stub
*/

module.exports = () => {
export default () => {
return {
get() {
return {};
Expand Down
2 changes: 1 addition & 1 deletion client/signup/index.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import controller from './controller';
import jetpackConnectController from './jetpack-connect/controller';
import sitesController from 'my-sites/controller';

module.exports = function() {
export default function() {
page(
'/start/:flowName?/:stepName?/:stepSectionName?/:lang?',
controller.saveRefParameter,
Expand Down
2 changes: 1 addition & 1 deletion client/signup/test/lib/user/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

var isLoggedIn = false;

module.exports = function() {
export default function() {
return {
get: function() {
return isLoggedIn;
Expand Down
2 changes: 1 addition & 1 deletion client/signup/test/signup/config/steps.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// steps.js stub
module.exports = {
export default {
'theme-selection': { stepName: 'theme-selection' },
user: { stepName: 'user' }
};
2 changes: 1 addition & 1 deletion client/signup/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function getDestination( destination, dependencies, flowName ) {
return flows.filterDestination( destination, dependencies, flowName );
}

module.exports = {
export default {
getFlowName: getFlowName,
getFlowSteps: getFlowSteps,
getStepName: getStepName,
Expand Down

0 comments on commit 9403f8d

Please sign in to comment.