Commit Graph

121 Commits

Author SHA1 Message Date
Alexis Sellier
321920a50d mixin guards
Allows functional-style guard expressions:

  .mixin (@a) ? @a > 0 {...}
2011-12-15 23:38:53 +01:00
Alexis Sellier
db72c646bb dynamic selectors
Allows things like:

  a:nth-child(@var) {}
2011-12-15 22:24:52 +01:00
Alexis Sellier
9eb0423cb2 fix regression on url.js 2011-11-26 23:42:23 +01:00
Alexis Sellier
920034233b Merge pull request #458 from fat/assignment-entities
Assignment entities
2011-11-24 16:14:39 -08:00
Alexis Sellier
40601f8a61 fix regression on urls with relative paths Closes #464 #471 #465 2011-11-23 10:58:26 +01:00
Jacob Thornton
56fc8fe510 clean up + add test 2011-11-13 00:21:03 -08:00
Jacob Thornton
c3b560c6c1 Merge branch 'master' into assignment-entities 2011-11-12 23:57:36 -08:00
Jacob Thornton
354844e802 add assignment entities 2011-11-12 23:55:40 -08:00
Alexis Sellier
e80847267b fix IE 6 support 2011-11-12 14:06:40 +01:00
Alexis Sellier
e35dc0efc0 merge 2011-11-12 13:49:41 +01:00
Alexis Sellier
c290c48b3f node 0.5.x compatibility 2011-11-12 13:13:36 +01:00
Jacob Thornton
f197b2a0f8 store index on selector element objects for line number inference 2011-11-10 21:24:25 -08:00
cloudhead
b32fe0e6a8 improve mixin matching, closes #381 2011-11-04 16:13:29 -04:00
Adam Solove
5ad3a6732d Correctly handle data URIs, add test for quoted data URIs. 2011-10-21 12:49:25 -04:00
Alexis Sellier
a3384fa922 Merge pull request #355 from revolunet/import-querystrings
support imports with querystrings (google fonts) fix #265
2011-08-28 12:55:29 -07:00
Alexis Sellier
703efe2dc4 Merge pull request #335 from ttfkam/argb
update ARGB support, fix IE9 style injection
2011-08-22 05:40:14 -07:00
cloudhead
3331637913 make mixins work better with complex selectors 2011-08-20 10:14:18 -04:00
Miles Elam
71f15ac000 ARGB input removed. ARGB output added with the function argb(Color). 2011-08-03 21:02:10 -07:00
revolunet
f1695f6a9a support imports with querystrings (google fonts) fix #265 2011-07-08 01:29:39 +02:00
cloudhead
04c2176bdb (minor) ws fixes 2011-07-03 00:19:06 -04:00
James Foster
afd599dcb5 Implement parent selector 2011-07-03 12:07:42 +08:00
Alexis Sellier
b68dbcf55f fix alpha(opacity=n) support 2011-05-27 18:20:27 -04:00
cloudhead
b043fd4507 catch errors on css function calls 2011-05-24 17:05:17 -04:00
Alexis Sellier
301a22f883 Merge branch 'master' of github.com:cloudhead/less.js 2011-05-24 16:45:46 -04:00
Alexis Sellier
59d6408ae4 don't re-evaluate arguments on each mixin.call 2011-05-24 12:08:50 -04:00
cloudhead
853604a791 fix string interpolation with mixins, closes #272 2011-05-19 12:36:13 -04:00
Alexis Sellier
0726b9bd56 fix string interpolation with color values 2011-05-18 11:55:07 -04:00
Alexis Sellier
9939ba5076 better JavaScript evaluation
- support for returning Array values
- Expressions/Values are passed as arrays to JavaScript
- fixed some edge cases
2011-05-17 20:47:42 -04:00
Alexis Sellier
37a90c6765 (new) interpolation & escaping of JS 2011-05-11 13:57:52 -04:00
Alexis Sellier
02bb402c4d change @arguments behaviour to be more like js 2011-05-11 12:33:54 -04:00
Alexis Sellier
e2ad523746 (new) variable variables 2011-05-11 11:29:27 -04:00
Alexis Sellier
37ee7eb8d5 don't add base-path to data-uris. closes #258 2011-05-11 09:30:44 -04:00
Alexis Sellier
3823404878 (new) string interpolation and built-in escaping 2011-05-10 18:01:48 -04:00
Miles
2de86bd901 Support for IE's ARGB syntax (#aarrggbb) 2011-05-04 06:17:26 +08:00
Alexis Sellier
93d8f9c364 fix alpha channel being ignored in operations 2011-02-19 15:28:33 -05:00
cloudhead
e199ac8c8e (new) JavaScript-style 'arguments' variable 2011-01-31 14:10:57 +00:00
Alexis Sellier
0bd18489bc tweak mixin pattern matching to be more useful 2011-01-20 20:02:15 -05:00
cloudhead
1a4b10976b (new) support for unquoted data URIs in url() 2010-11-20 02:17:35 -05:00
cloudhead
a8fbcb1917 attempt at url() relative path fix 2010-08-20 00:02:47 -04:00
cloudhead
e17314e653 stateless URL evaluation 2010-07-25 17:01:27 -04:00
cloudhead
334f224d7e squeeze extra slashes in url() 2010-07-25 16:44:27 -04:00
cloudhead
326e863bbc support relative url() paths in the browser 2010-07-25 16:42:19 -04:00
cloudhead
4399c9c965 make strings behave like other nodes.
- rename 'content' to 'value'
2010-07-25 16:41:05 -04:00
cloudhead
9bc9d11518 cleanup ruleset evaluation
- remove eval() from ruleset.toCSS
- fix multiple mixin calls with different arguments yeilding the same
  output.
2010-07-23 19:46:48 -04:00
cloudhead
c40c15f1f5 explicit evaluation of variables within js 2010-07-09 21:31:26 +02:00
cloudhead
cc82887c9f modify javascript eval to be compatible with e() 2010-07-08 19:28:34 +02:00
cloudhead
e36080a3ff preliminary support for evaluating JavaScript code inside LESS 2010-07-08 19:04:36 +02:00
cloudhead
66fa17b274 small refactor in mixin.match 2010-07-08 12:45:43 +02:00
cloudhead
8422fdef6d fix compound variable substitutions 2010-07-08 00:22:01 +02:00
cloudhead
189b1bf089 big refactoring of ruleset.js, move eval code to eval() 2010-07-07 13:53:09 +02:00