Commit Graph

72 Commits

Author SHA1 Message Date
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
jurcovicovam
b5711dbb13 Working but extremly ugly version. Desperately needs clean up. 2015-01-18 11:47:23 +01:00
Luke Page
49955d3a35 Fix parse error effectinge pseudo classes with guards. Fixes #2352 2015-01-03 17:07:06 +00:00
Luke Page
89c95af070 Fix isSync option, turn browser back to running sychronously and fix many issues that came up 2014-11-22 18:30:36 +00:00
Luke Page
4dab36dade support @counter-style. Fixes #2204 2014-11-09 14:13:53 +00:00
Veres Lajos
73f3fc4468 typo fixes 2014-11-02 23:18:29 +00:00
Luke Page
ba3d24a352 Support urls begining // which are unquoted. Fixes #2238 2014-10-21 13:01:01 +01:00
Luke Page
845ec72131 improve error reporting 2014-10-19 16:48:04 +01:00
Luke Page
dedf0eee38 rename env to context to avoid confusion with environment 2014-10-05 18:50:34 +01:00
Luke Page
7a6b1e278b Pull out the file manager aspect of the environment so new file managers can be added dynamically 2014-10-04 17:46:30 +01:00
Luke Page
823ab221dd further simplifications to the parse context 2014-09-22 21:24:48 +01:00