|
Last change
on this file was e4c61dd, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Prototype 1.1
|
-
Property mode
set to
100644
|
|
File size:
348 bytes
|
| Rev | Line | |
|---|
| [e4c61dd] | 1 | import formatLocale from "./locale.js";
|
|---|
| 2 |
|
|---|
| 3 | var locale;
|
|---|
| 4 | export var format;
|
|---|
| 5 | export var formatPrefix;
|
|---|
| 6 |
|
|---|
| 7 | defaultLocale({
|
|---|
| 8 | thousands: ",",
|
|---|
| 9 | grouping: [3],
|
|---|
| 10 | currency: ["$", ""]
|
|---|
| 11 | });
|
|---|
| 12 |
|
|---|
| 13 | export default function defaultLocale(definition) {
|
|---|
| 14 | locale = formatLocale(definition);
|
|---|
| 15 | format = locale.format;
|
|---|
| 16 | formatPrefix = locale.formatPrefix;
|
|---|
| 17 | return locale;
|
|---|
| 18 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.