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) {
320
320
321
321
// Exponential number notation with minus or plus: 1e-10, 1e+10
322
322
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 ) ;
326
326
327
327
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 )
331
331
) {
332
332
wordEndNum . lastIndex = next + 2 ;
333
333
wordEndNum . test ( css ) ;
You can’t perform that action at this time.
0 commit comments