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

Update for mithril 2 #38

Merged
merged 4 commits into from Nov 7, 2020

Conversation

askvortsov1
Copy link
Contributor

No description provided.

title: app.translator.trans(`${transPrefix}.title`),
size: 'small',
className: 'fof-nightmode',
items: [
items: s => [
Copy link
Member

Choose a reason for hiding this comment

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

I prefer we keep longer parameter names. I believe this one is called setting in fof/components? If so we can even save space below by replacing setting: s, with setting,

Copy link
Member

Choose a reason for hiding this comment

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

I believe this one is called setting in fof/components

It doesn't matter what it is called in fof/components, as this is a function argument.

If so we can even save space below by replacing setting: s, with setting,

Probably a good idea to extend it here, yeah. I just didn't want to see setting={setting} all over the place in the other exts.

@AlexanderOMara AlexanderOMara mentioned this pull request Oct 27, 2020
1 task
@karaok491 karaok491 merged commit 3d1c8b1 into FriendsOfFlarum:master Nov 7, 2020
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.

None yet

4 participants