Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refactor code style#533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
itsmichaeldiego merged 8 commits intomasterfromrefactor-code-style
Mar 11, 2018
Merged

Refactor code style#533

itsmichaeldiego merged 8 commits intomasterfromrefactor-code-style
Mar 11, 2018

Conversation

itsmichaeldiego
Copy link
Member

This pr includes:

  • Fix some eslint styling
  • Update recompose to latest version
  • Use object destruction to import multiple child modules from one single module (recompose & lodash)

const BASE_URL = 'https://maps';
const DEFAULT_URL = `${BASE_URL}.googleapis.com`;
const API_PATH = '/maps/api/js?callback=_$_google_map_initialize_$_';
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

console.error(message);
throw new Error(message);
}
}

letqueryString = Object.keys(bootstrapURLKeys).reduce(
letparams = Object.keys(bootstrapURLKeys).reduce(
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The wordparams makes more sense thanqueryString, as they're actuallyparams

withContext,
withProps,
withPropsOnChange,
} from 'recompose';
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This way of importing things looks clearer

@lock
Copy link

lockbot commentedDec 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@locklockbot locked asresolvedand limited conversation to collaboratorsDec 1, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@itsmichaeldiego

[8]ページ先頭

©2009-2025 Movatter.jp