@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/fesm2015/skyux-core.mjs
CHANGED
@@ -1961,6 +1961,10 @@ class NumericOptions {
|
|
1961
1961
|
}
|
1962
1962
|
|
1963
1963
|
/* eslint-disable eqeqeq */
|
1964
|
+
// This file is mostly ported from the Angular 4.x NumberPipe in order to maintain the old
|
1965
|
+
// behavior of using the `Intl` API for formatting numbers rather than having to register every
|
1966
|
+
// supported locale.
|
1967
|
+
// https://github.com/angular/angular/blob/4.4.x/packages/common/src/pipes/number_pipe.ts
|
1964
1968
|
function isNumeric(value) {
|
1965
1969
|
return !isNaN(value - parseFloat(value));
|
1966
1970
|
}
|