Commit Graph

82 Commits

Author SHA1 Message Date
Max Mikhailov
e3c13121df allow unknown at-rules w/o {} block 2016-01-26 11:00:31 +03:00
meri
8cc6ea89b1 Logical operator and now has higher precence then logical operator or. 2016-01-17 19:37:51 +01:00
meri
d538509101 Merge https://github.com/less/less.js 2016-01-14 23:46:37 +01:00
meri
ce55a8e79c Fixing #2124 - Parsing Error "Unrecognised input" for color operations
with color names.
2016-01-14 23:46:05 +01:00
Mária Jurčovičová
8c1fcb5115 Merge pull request #2763 from SomMeri/master
Added "or" keyword and allowed arbitrary logical expression in guards.
2016-01-14 14:27:36 +01:00
meri
1791587fdc removed pointless comment 2015-12-20 20:25:55 +01:00
meri
07c1c821e9 Simplified code. 2015-12-20 20:25:11 +01:00
meri
0952847217 remove debug logs 2015-12-20 20:24:09 +01:00
meri
81f6fcc312 testing predictability of pure virtual method 2015-12-20 20:19:52 +01:00
meri
77627050c7 Added "or" keyword and allowed arbitrary logical expression in guards. 2015-12-20 20:11:11 +01:00
Mária Jurčovičová
78bf3f18a9 Merge pull request #2485 from seven-phases-max/allow-underscore-after-numbers
Allow underscore in a dimension unit
2015-12-07 13:00:03 +01:00
meri
ead3e29f7b Fixing import by reference
- refactored how import reference works
- refactored to-css-visitor (this is side product, it was getting
  complicated)
- fixes issues #1851, #1896, #1878, #2716, #1968, #2162 (same as #1896)
2015-11-20 15:10:53 +01:00
jurcovicovam
30fe1cb9e2 Keep shorthand color form the same way as named colors are kept. #2481 2015-07-19 14:54:41 +02:00
seven-phases-max
3178103b7f merge updated expand-operator with master
plus reworked tests
2015-06-25 23:53:32 +04:00
seven-phases-max
1950248a87 fix formatting to meet jscs settings 2015-04-01 21:26:14 +04:00
Luke Page
a01c40e1b9 more replacement of regexes 2015-03-21 16:40:57 +00:00
Luke Page
16ed6bfc2e Remove regex used every node with a char lookup 2015-03-21 10:28:35 +00:00
Luke Page
936b78c6b4 See missing media blocks. Fixes #2494 2015-03-20 17:13:10 +00:00
rjgotten
b948dad7ab Fix selectors folding into directives
When directives bubble up to global scope, selectors are no longer
folded into directives that do not logically allow them.
Fixes #2511
2015-03-19 20:22:40 +01:00
Luke Page
ebb79c08b2 fix call to removed function 2015-03-15 17:50:48 +00:00
Luke Page
d7846e2ae5 Merge pull request #2479 from rjgotten/import-plugin
Import plugin
2015-03-15 17:44:47 +00:00
Luke Page
54556bddf2 missing save/restore code searching for assignments 2015-03-15 17:39:29 +00:00
Luke Page
63a150b3be escape quickley with simple properties 2015-03-15 17:29:25 +00:00
Luke Page
d05ffcc4b0 remove the quoted regex, simplify the comment parsing 2015-03-15 13:45:06 +00:00
Luke Page
376c264f95 Fix missing forget in parser 2015-03-15 12:17:41 +00:00
Luke Page
f8de5bcb16 replace simple regex's with simple string comparisons 2015-03-15 10:24:41 +00:00
rjgotten
9518763128 Updated plugin import syntax
- Updated parser to recognize `@plugin` and removed parsing support for
the (plugin) import option.
- Updated plugin import unit tests to `@plugin` syntax
2015-03-15 11:05:37 +01:00
Luke Page
5651517f5f Fix missing new statement, causing a undefined throw and bad error message 2015-03-13 16:06:19 +00:00
Calvin Juárez
d4a8804808 parser – fix #2496: allow detached rulesets as mixin argument defaults 2015-03-10 18:10:39 -06:00
seven-phases-max
bbdbe9c7d0 allow underscore in dimension unit 2015-02-28 02:07:43 +04:00
rjgotten
83db6e8d90 Allow adding plugins via @import (plugin) 2015-02-25 17:36:00 +01:00
Justineo
197619ab2a fix code style 2015-02-02 17:24:41 +08:00
Justineo
093e2ea42c Merge branch 'master' of https://github.com/less/less.js 2015-02-02 16:15:40 +08:00
Justineo
d53801eb77 try to implement preprocess plugins 2015-02-02 16:15:33 +08:00
Luke Page
fb5280f16f Merge branch 'master' of https://github.com/less/less.js 2015-01-30 22:29:03 +00:00
Luke Page
604c911441 style cop 2 - indentation 2015-01-30 20:41:25 +00:00
Luke Page
1494e25ef0 More style cop.. 2015-01-30 18:28:02 +00:00
Bass Jobsen
cf4039625f Update parser.js 2015-01-29 11:11:06 +01:00
jurcovicovam
dc93dd54bf Merge https://github.com/less/less.js into nested-parent-selector-2026-v1
Conflicts:
	lib/less/parser/parser.js
	lib/less/tree/ruleset.js
2015-01-28 10:46:49 +01:00
jurcovicovam
964b991423 Reviews changes: spacing and commented code.
Bug fixed: fixed handling of multi level nesting.
2015-01-28 09:50:44 +01:00
Luke Page
d206167c84 enforce spaces between operators for consistency 2015-01-27 22:24:12 +00:00
Luke Page
28de1cf788 Require parenthesis 2015-01-27 21:57:07 +00:00
Luke Page
08a7f9ebeb more whitespace rules 2015-01-27 21:38:13 +00:00
Luke Page
379968773e disallow weird type conversion 2015-01-27 17:40:18 +00:00
Luke Page
31c3d04980 jscs style checking. Fixed whitespace issues. 2015-01-26 23:34:35 +00:00
Luke Page
82b29de3cd Merge branch 'patch-8' of https://github.com/bassjobsen/less.js 2015-01-26 22:28:42 +00:00
Luke Page
69d4d60240 Merge pull request #2401 from SomMeri/interpolate-pseudo-selector-1294
Allow selector interpolation inside pseudoselectors. #1294
2015-01-26 23:14:47 +01:00
Luke Page
5e6e16ed8c pick up comments on the end of the file 2015-01-26 19:52:56 +00:00
jurcovicovam
e064ac0ef2 Allow selector interpolation inside pseudoselectors. #1294 2015-01-20 16:08:02 +01:00
Bass Jobsen
1aec38f440 Update parser.js 2015-01-19 09:13:49 +01:00