Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REFACTOR] Update the FitType API #895

Merged
merged 3 commits into from
Nov 23, 2020
Merged

Conversation

csouchet
Copy link
Member

  • Replace number value of the fitType by string
  • Simplify fit type conversion in js scripts & string variables

Covers #861

@csouchet csouchet added the refactoring Code refactoring label Nov 19, 2020
- Simplify fit type conversion in js scripts & string variables
@csouchet csouchet force-pushed the 861-Refactor_fit_type_value branch from 2f4bb06 to 2653c7b Compare November 19, 2020 17:11
@csouchet csouchet marked this pull request as ready for review November 19, 2020 17:17
@csouchet csouchet marked this pull request as draft November 20, 2020 09:34
@csouchet csouchet marked this pull request as ready for review November 20, 2020 09:48
Copy link
Member

@tbouffard tbouffard left a comment

Choose a reason for hiding this comment

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

LGTM, nice 👍

@@ -26,7 +26,7 @@ let loadOptions: LoadOptions = {};
export function updateLoadOptions(fitOptions: FitOptions): void {
log('Updating load options', fitOptions);
loadOptions.fit = fitOptions;
log('Load options updated!', loadOptions);
log('Load options updated!', stringify(loadOptions));
Copy link
Member

Choose a reason for hiding this comment

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

👍

@csouchet csouchet merged commit 169daac into master Nov 23, 2020
@csouchet csouchet deleted the 861-Refactor_fit_type_value branch November 23, 2020 09:45
aibcmars pushed a commit that referenced this pull request Nov 24, 2020
- Replace number value of the fitType by string
- Simplify fit type conversion in js scripts & string variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants