35 Commits
Author SHA1 Message Date
Andrey Sitnik c2d42370a2 Fix JSHint warnings 2015-02-14 13:42:12 +03:00
Andrey Sitnik a6af7ab64e Clean up imports 2015-02-14 13:23:49 +03:00
Andrey Sitnik 35e3c61417 Use ES6 export statement instead of module.exports 2015-02-14 13:17:18 +03:00
Andrey Sitnik 912d6ea2a0 Use ES6 import 2015-02-02 07:07:53 +03:00
Andrey Sitnik 1c09df2f68 Speed up parser by saving source only if map used 2014-11-06 13:22:04 +03:00
Andrey Sitnik 1a4ffbb8df Parses nameless at-rules in Safe Mode 2014-11-06 13:22:04 +03:00
Andrey Sitnik 82d7a1aa0f Add Input class to take repeated code from Parser and Tokenizer 2014-11-06 13:22:04 +03:00
Andrey Sitnik 88e513d9ad Use separated argument for map in CssSyntaxError 2014-11-06 13:22:04 +03:00
Andrey Sitnik c1342b1ffb Use source map in syntax errors 2014-11-06 13:22:04 +03:00
Andrey Sitnik 3cb1d9cdc1 Clean up parser code 2014-11-06 13:22:04 +03:00
Andrey Sitnik feb1419a90 Raise error on missed semicolon between properties 2014-11-06 13:22:04 +03:00
Andrey Sitnik 374211d783 Fix properties started from colon 2014-11-06 13:22:03 +03:00
Andrey Sitnik e17e8be95d Fix selectors started from colon 2014-11-06 13:22:03 +03:00
Termina1andAndrey Sitnik 344b3e5f6c Add better benchmarks 2014-11-06 13:22:03 +03:00
Termina1andAndrey Sitnik 96d296326f Improve tokenizer and parser perfomance 2014-11-06 13:22:03 +03:00
Andrey Sitnik 517876fb42 Detect from input file name by prev map 2014-11-06 13:22:03 +03:00
Andrey Sitnik 4492055c99 Detect map before parsing 2014-11-06 13:22:03 +03:00
Andrey Sitnik 24c92165af PreviousMap now works with CSS string 2014-11-06 13:22:03 +03:00
Andrey Sitnik 59943bd6a6 More readable non-name ID 2014-11-06 13:22:02 +03:00
Andrey Sitnik a1b4760508 Allow to parse mix of decls in rules 2014-11-06 13:22:02 +03:00
Andrey Sitnik c3f61ddcac New parser based on tokens 2014-11-06 13:22:02 +03:00
Andrey Sitnik 65d8a9a8a1 Add tokenizer 2014-11-06 13:22:02 +03:00
Andrey Sitnik ad5e64c7ae Allow to miss file name for inline maps 2014-08-06 00:53:21 +04:00
Andrey Sitnik d39a9f5645 Replace strict to safe mode 2014-07-16 10:28:20 +04:00
Andrey Sitnik f65d0e404d Set value for unfinished property 2014-07-14 11:02:19 +04:00
Andrey Sitnik 16d8d862b2 Use real Decl#important property instead of magic 2014-07-12 15:21:13 +11:00
Andrey Sitnik 5b3745b98c Fix unclosed value in non-strict mode 2014-07-12 15:10:34 +11:00
Andrey Sitnik a1f6f23edf Fix unclosed comment in non-strict mode 2014-07-12 14:55:53 +11:00
Andrey Sitnik 7240541bfa Fix proprty in unclosed block in non-strict mode 2014-07-12 14:45:25 +11:00
Andrey Sitnik 94a7f432b1 Close unclosed blocks in non-strict mode 2014-07-12 14:32:08 +11:00
Andrey Sitnik d1c4104e52 Throw missing property value in strict mode 2014-07-12 14:11:25 +11:00
Andrey Sitnik 0e3c0d7088 Clean raw properties magic to see property in inspect 2014-07-10 02:49:36 +11:00
Andrey Sitnik 0efb2dc97e Add Browserhacks to integration tests and fix parser for this hacks 2014-07-09 14:21:15 +11:00
Andrey Sitnik 0b894e2044 Add JS lint and fix all warnings 2014-07-08 18:30:53 +11:00
Andrey Sitnik c5838fa743 Rewrite parser to ES6 2014-07-04 03:59:21 +09:00