Commit Graph

10 Commits

Author SHA1 Message Date
Bass Jobsen
d3781258b7 Update parser-input.js 2015-01-29 11:07:37 +01:00
Bass Jobsen
48b379bbd0 endlines and comments
possible fix for https://github.com/less/less.js/issues/2370

I have used the following command to test this issue: `printf "p {\r//less\rc:1;\r}\r" | lessc -`

I'm not sure if this the most efficient fix.
I also tried `var nextNewLine = inp.substr(parserInput.i + 1).search(/\n|\r/);` to replace the `indexOf` but then i expect possible mismatches for `\r\n` which match on the first `\r`.
2015-01-29 00:27:09 +01:00
Luke Page
10ea767708 Fix #2242 - detect if less does not parse final character 2015-01-04 08:45:31 +00:00
Luke Page
49955d3a35 Fix parse error effectinge pseudo classes with guards. Fixes #2352 2015-01-03 17:07:06 +00:00
Andrey Taritsyn
7b567d016c Fix getting of character at index 2014-11-15 16:42:15 +03:00
Luke Page
b3b8b278bd import managaer related simplifications 2014-09-22 20:32:46 +01:00
Luke Page
1a78cd5901 Remove unnecessary text from require statements 2014-09-08 00:57:50 +01:00
Luke Page
e5faba5154 Remove some interdepedencies 2014-09-04 18:16:08 +01:00
Luke Page
d3c6f2208f Move toCSS out to a new class (still need to remove creation of that class from parser) 2014-09-04 17:42:38 +01:00
Luke Page
41732cc60b pull out the input processing out of the parser class and a few small improvements - the no js option now applies to all js, including that within quotes. The Javascript node now also returns the right index. 2014-08-25 12:19:04 +01:00