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

Simpler options #17

Merged
merged 2 commits into from Jun 11, 2013

Conversation

Projects
None yet
1 participant
@neocotic
Owner

neocotic commented Jun 11, 2013

Greatly simplified the configuration process using user-specified options:

  • 2 new options:
    • defaultLocale allows users to specify the default/fallback locale when none was specified or could be derived
    • messages allows users to specify a pre-defined message bundle and avoid fetching
  • Options are no longer validated as we should trust the user to be sensible and save precious load time
  • Private functions were moved to their own shared utility namespace: _
  • Improve modularity
  • Core classes (i.e. Internationalization, Messenger) are now exposed

@ghost ghost assigned neocotic Jun 11, 2013

neocotic added a commit that referenced this pull request Jun 11, 2013

@neocotic neocotic merged commit 8c09719 into wip-0.3.0 Jun 11, 2013

@neocotic neocotic deleted the simpler-options branch Jun 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment