File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -320,14 +320,14 @@ module.exports = function tokenize (input, options) {
320320
321321 // Exponential number notation with minus or plus: 1e-10, 1e+10
322322 if ( regex === wordEndNum || code === period ) {
323- let ncode1 = css . charCodeAt ( next ) ,
324- ncode2 = css . charCodeAt ( next + 1 ) ,
325- ncode3 = css . charCodeAt ( next + 2 ) ;
323+ let ncode = css . charCodeAt ( next ) ,
324+ ncode1 = css . charCodeAt ( next + 1 ) ,
325+ ncode2 = css . charCodeAt ( next + 2 ) ;
326326
327327 if (
328- ( ncode1 === lowerE || ncode1 === upperE ) &&
329- ( ncode2 === minus || ncode2 === plus ) &&
330- ( ncode3 >= digit0 && ncode3 <= digit9 )
328+ ( ncode === lowerE || ncode === upperE ) &&
329+ ( ncode1 === minus || ncode1 === plus ) &&
330+ ( ncode2 >= digit0 && ncode2 <= digit9 )
331331 ) {
332332 wordEndNum . lastIndex = next + 2 ;
333333 wordEndNum . test ( css ) ;
You can’t perform that action at this time.
0 commit comments