mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 03:17:30 -04:00
1 line
391 B
JavaScript
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"]; |