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

Suggestion: provide mechanism like initializeNumberFormatting for NumberFormat to minimize JS code #17420

Closed
DartBot opened this issue Mar 12, 2014 · 3 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.

Comments

@DartBot
Copy link

DartBot commented Mar 12, 2014

This issue was originally filed by @tomyeh


The current implementation of NumberFormat will generate symbols of all supported languages into JS file. It is about 24KB. Though not very big, it will be better if it can be implemented like what DateFormat is -- using en_US as default, and loading other symbols with initDateFormatting and other methods. Thus, the application can implement lazy load and other mechanism to minimize the JS code size.

@kasperl
Copy link

kasperl commented Mar 12, 2014

cc @alan-knight.
Added Area-Library, Triaged labels.

@alan-knight
Copy link
Contributor

Removed Area-Library label.
Added Area-Pkg, Pkg-Intl labels.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/i18n#348.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.
Projects
None yet
Development

No branches or pull requests

4 participants