File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ String.prototype._parseNumberNegativePattern = function (numberFormat: ICultureN
101
101
case 4 :
102
102
negativeSign = ' ' + negativeSign ;
103
103
positiveSign = ' ' + positiveSign ;
104
+ break ;
104
105
case 3 :
105
106
if ( this . endsWith ( negativeSign ) ) {
106
107
return [ '-' , this . substr ( 0 , this . length - negativeSign . length ) ] ;
@@ -112,6 +113,7 @@ String.prototype._parseNumberNegativePattern = function (numberFormat: ICultureN
112
113
case 2 :
113
114
negativeSign += ' ' ;
114
115
positiveSign += ' ' ;
116
+ break ;
115
117
case 1 : if ( this . startsWith ( negativeSign ) ) {
116
118
return [ '-' , this . substr ( negativeSign . length ) ] ;
117
119
}
@@ -125,4 +127,4 @@ String.prototype._parseNumberNegativePattern = function (numberFormat: ICultureN
125
127
}
126
128
}
127
129
return [ '' , this ] ;
128
- } ;
130
+ } ;
You can’t perform that action at this time.
0 commit comments