@skyux/core 8.2.0 → 8.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2020/skyux-core.mjs
CHANGED
@@ -1956,6 +1956,10 @@ class NumericOptions {
|
|
1956
1956
|
}
|
1957
1957
|
|
1958
1958
|
/* eslint-disable eqeqeq */
|
1959
|
+
// This file is mostly ported from the Angular 4.x NumberPipe in order to maintain the old
|
1960
|
+
// behavior of using the `Intl` API for formatting numbers rather than having to register every
|
1961
|
+
// supported locale.
|
1962
|
+
// https://github.com/angular/angular/blob/4.4.x/packages/common/src/pipes/number_pipe.ts
|
1959
1963
|
function isNumeric(value) {
|
1960
1964
|
return !isNaN(value - parseFloat(value));
|
1961
1965
|
}
|