@player-ui/beacon-plugin 0.10.1 → 0.10.2-next.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.
|
@@ -2922,7 +2922,7 @@ var BeaconPlugin = function() {
|
|
|
2922
2922
|
return segment;
|
|
2923
2923
|
}
|
|
2924
2924
|
var tryNum = Number(segment);
|
|
2925
|
-
return isNaN(tryNum) ? segment : tryNum;
|
|
2925
|
+
return isNaN(tryNum) || String(tryNum) !== segment ? segment : tryNum;
|
|
2926
2926
|
});
|
|
2927
2927
|
Object.freeze(this.split);
|
|
2928
2928
|
this.joined = this.split.join(".");
|