1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-16 15:05:57 -05:00
notes/node_modules/postcss-less/dist/tokenizer/tokenize-inline-comment.min.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

1 line
391 B
JavaScript

"use strict";function tokenizeInlineComment(e){e.nextPos=e.css.indexOf("\n",e.pos+2)-1,e.nextPos===-2&&(e.nextPos=e.css.length-1),e.tokens.push(["comment",e.css.slice(e.pos,e.nextPos+1),e.line,e.pos-e.offset,e.line,e.nextPos-e.offset,"inline"]),e.pos=e.nextPos}Object.defineProperty(exports,"__esModule",{value:!0}),exports["default"]=tokenizeInlineComment,module.exports=exports["default"];