1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-05 12:57:15 -05:00
notes/node_modules/postcss-less/dist/tokenizer/tokenize-whitespace.min.js

1 line
583 B
JavaScript
Raw Normal View History

2017-03-09 13:16:08 -05:00
"use strict";function tokenizeWhitespace(e){e.nextPos=e.pos;do e.nextPos+=1,e.symbolCode=e.css.charCodeAt(e.nextPos),e.symbolCode===_globals.newline&&(e.offset=e.nextPos,e.line+=1);while(e.symbolCode===_globals.space||e.symbolCode===_globals.newline||e.symbolCode===_globals.tab||e.symbolCode===_globals.carriageReturn||e.symbolCode===_globals.feed);e.tokens.push(["space",e.css.slice(e.pos,e.nextPos)]),e.pos=e.nextPos-1}Object.defineProperty(exports,"__esModule",{value:!0}),exports["default"]=tokenizeWhitespace;var _globals=require("./globals");module.exports=exports["default"];