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

Factor inputextender and content out of time and globecoordinate experts #51

Merged
merged 4 commits into from Jun 4, 2014

Conversation

adrianheine
Copy link
Contributor

This introduces ExpertExtender with some modules. It makes it possible to reuse
the inputextender in other experts, like quantity or monolingualtext.

@siebrand, can you please have a look at the renaming of messages?

@thiemowmde
Copy link
Contributor

The messages are new and will be translated again. The old messages will be deleted. No problem.

@adrianheine
Copy link
Contributor Author

@brightbyte

@adrianheine
Copy link
Contributor Author

@tobijat @thiemowmde ping

The `messageGetter` was called with a params array as second parameter.
That behavior matched the documentation, but the function usually passed as
`messageGetter` (`mw.msg`) expects the params to be given as individual
arguments.

$.extend( ExpertExtender.CalendarHint.prototype, {
/**
* @type {util.MessageProvider}
Copy link
Member

Choose a reason for hiding this comment

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

Indenting

@JeroenDeDauw
Copy link
Member

Generally looks sane to me, though I really am not up to speed enough with the JS for that to be very meaningful

This introduces ExpertExtender with some modules. It makes it possible to reuse
the inputextender in other experts, like quantity or monolingualtext.
@brightbyte
Copy link

This looks good from an architecture point of view. I can't say much about the details of the code.

tobijat added a commit that referenced this pull request Jun 4, 2014
Factor inputextender and content out of time and globecoordinate experts
@tobijat tobijat merged commit 8eeeb4a into master Jun 4, 2014
@tobijat tobijat deleted the refactorExperts branch June 4, 2014 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants