Skip to content

Commit

Permalink
perf(formatting numbers): stop using a default locale, use the system…
Browse files Browse the repository at this point in the history
… one

When no local provided, it will use the user one.

It should be more relevant AND does provide a good perf boost.
  • Loading branch information
vvo committed Feb 10, 2016
1 parent 95f940c commit b056554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/InstantSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class InstantSearch extends EventEmitter {
appId = null,
apiKey = null,
indexName = null,
numberLocale = 'en-EN',
numberLocale,
searchParameters = {},
urlSync = null
}) {
Expand Down

0 comments on commit b056554

Please sign in to comment.