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

1 line
459 B
JavaScript

"use strict";function findEndOfEscaping(e){for(var s=0,l=-1,o=e.pos+1;o<e.length;o++){var a=e.css.charCodeAt(o),r=e.css.charCodeAt(o-1);if(r!==_globals.backslash&&(a===_globals.singleQuote||a===_globals.doubleQuote||a===_globals.backTick))if(l===-1)l=a,s++;else if(a===l&&(s--,!s))return o}return-1}Object.defineProperty(exports,"__esModule",{value:!0}),exports["default"]=findEndOfEscaping;var _globals=require("./globals");module.exports=exports["default"];