Luke Page
95441fa501
Do not require every extend is matched inside every media query and directive - removes alot of false warnings. Fixes #2499
2015-02-26 19:07:45 +00:00
jurcovicovam
028f3c79be
Bubbling of directives.
2015-02-24 17:27:27 +01:00
jurcovicovam
eff8230c3c
directive.rules now holds array instead of single selector.
...
It is because:
1.) Consistency: media.js is done the same way.
2.) Ruleset may or may not change to array in to-css-visitor. All
following code had to hande two cases afterwards.
2015-02-24 14:08:11 +01: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
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
31c3d04980
jscs style checking. Fixed whitespace issues.
2015-01-26 23:34:35 +00:00
jurcovicovam
8f1c35a814
Extend looses @supports imported by reference
...
New logic: directive with body that contains something referenced (for
example by extend) will be shown in output too. @Media works with the same
logic - it shows up in output if it contains something visible.
Related to: #2359
2015-01-23 17:48:26 +01:00
Stefan Baumgartner
5551c40662
checking for doubles when warning for empty extends
...
follow up #2369
2015-01-13 11:11:47 +01:00
Luke Page
29ede6ae88
Merge branch 'master' into extend-warnings
2015-01-11 11:47:17 +00:00
Stefan Baumgartner
3435d193e8
making sure :extend warning does not bubble up
...
parent_ids contains all the selectors which this extend has to draw from. If the extend has more than one parent, it's a reference done in another selector.
2015-01-05 18:20:57 +01:00
Luke Page
64382de11b
Fix an issue with the import visitor that can cause the parse callback to be called multiple times
2015-01-03 14:56:55 +00:00
Luke Page
0f29c4f094
initial warnings
2014-11-28 19:48:16 +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
8faa5b83d9
Allow replacing visitors to return undefined. Fixes #2252
2014-11-01 17:31:50 +00:00
Luke Page
e1c28d6358
use structure to run variable imports last
2014-10-24 13:07:31 +01:00
Luke Page
5202a1fc5f
sequencer logic for variable import
2014-10-24 07:29:45 +01:00
Luke Page
5f1f091168
Fix - for some reason the flattening done by the import visitor is required
2014-10-24 07:20:32 +01:00
Luke Page
ebdda84301
Method for how it will work asyncronously (broken)
2014-10-23 22:26:22 +01:00
Luke Page
59a165ba33
Refactor out the processing of the import, ready to be done asyncronously
2014-10-23 22:02:48 +01:00
Luke Page
59310251b6
Tidy context stack into actual stack - no need for an array
2014-10-23 21:50:01 +01:00
Luke Page
5913834cc1
Tidy Import Visitor arguments
2014-10-23 21:46:04 +01:00
Luke Page
c757befb4f
flatten import visitor so that variable imports can be processed at the end of a global queue
2014-10-23 21:33:28 +01:00
Luke Page
5f09ee7079
make sure an error is not lost
2014-10-23 18:38:45 +01:00
Luke Page
e793b17751
Sequencer working so imports are always processed in the same order
2014-10-23 18:15:25 +01:00
Luke Page
8c89b268b3
Initial sketch-out (broken)
2014-10-23 13:17:55 +01:00
Luke Page
148a0f5908
put the appendage of the .less extension through the file manager so that behaviour can be over-ridden. Fixes #2235
2014-10-21 13:16:40 +01:00
Luke Page
9d535c0470
Whitespace - undo unusual new() syntax
2014-10-19 16:57:22 +01:00
Luke Page
dedf0eee38
rename env to context to avoid confusion with environment
2014-10-05 18:50:34 +01:00
Luke Page
e357dae7bc
allow lessc to load plugins. rename visitor directory to visitors to match others. Fix indexes in URL
2014-09-09 21:20:04 +01:00