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

Use utils.deflt for Settings #649

Merged
merged 2 commits into from
Jan 27, 2017
Merged

Use utils.deflt for Settings #649

merged 2 commits into from
Jan 27, 2017

Conversation

tabatkins
Copy link
Contributor

Rather than duplicate the definition of the undefined-defaulter, use the version already present in utils.

Not sure why the macros line uses a different pattern, but I've left it alone. Happy to amend to make it match if desired.

Rather than duplicate the definition of the undefined-defaulter, use the version already present in utils.

Not sure why the `macros` line uses a different pattern, but I've left it alone. Happy to amend to make it match if desired.
@khanbot
Copy link

khanbot commented Jan 26, 2017

CLA signature looks good 👍

@tabatkins
Copy link
Contributor Author

I copied the import statement from one of the other files, but the linter complained about the use of var, so I switched it to const. Happy to switch back to stay consistent if someone else can fix the linter, or 👍 to me ignoring it.

@gagern
Copy link
Collaborator

gagern commented Jan 27, 2017

I guess you copied the line using var from an older version of the code base. We switched to const and let in bd9db33 from #617.

@gagern gagern changed the title Use the utils function Use utils.deflt for Settings Jan 27, 2017
@gagern gagern merged commit f3df1cc into KaTeX:master Jan 27, 2017
@tabatkins
Copy link
Contributor Author

Ah, yes, I forked on Dec 2nd and haven't re-upped yet. Thanks for the merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants