1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 07:27:19 -04:00
notes/node_modules/postcss-less/dist/tokenizer/tokenize-whitespace.min.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

1 line
583 B
JavaScript

"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"];