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
4ee78458c9
(test) fix javascript test
2011-05-11 12:46:37 -04:00
Alexis Sellier
52b10c007f
(test) new @arguments behaviour
2011-05-11 12:36:00 -04:00
Alexis Sellier
e2ad523746
(new) variable variables
2011-05-11 11:29:27 -04:00
Alexis Sellier
3823404878
(new) string interpolation and built-in escaping
2011-05-10 18:01:48 -04:00
Alexis Sellier
a1bf40641b
support unary '-' on variables and ()
2011-05-10 10:03:40 -04:00
Daniel Bergey
d7cdc17cde
Fix for #198 , with regexen, and urlencoding if the token is uppercase.
2011-05-04 06:17:03 +08:00
Alexis Sellier
8b3a423d58
Merged pull request #200 from bartschuller/master.
...
New round(n) function
2011-04-25 11:49:37 -07:00
cloudhead
453b467c85
(fix) properly chunkify naked urls
2011-04-22 16:59:39 -04:00
Alexis Sellier
f5ffdde710
better comment parsing in selector list
2011-03-24 14:42:30 -04:00
Alexis Sellier
9847f40b0f
(test) @arguments
2011-02-19 16:54:38 -05:00
Bart Schuller
202bcab8d2
Added new round(n) function.
...
Rationale: Using unrounded computed widths leads to pixel errors.
2011-02-14 23:47:41 +01:00
Alexis Sellier
0bd18489bc
tweak mixin pattern matching to be more useful
2011-01-20 20:02:15 -05:00
James A. Rosen
aeb4680232
fixed @media and @page parsing problem
2010-11-27 06:34:17 +08:00
Ian Beck
97b3def8a9
Modified selector regexen to support CSS character escapes, added test files to verify change
...
Closes #78 , closes #105
2010-11-27 06:07:14 +08:00
cloudhead
1a4b10976b
(new) support for unquoted data URIs in url()
2010-11-20 02:17:35 -05: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
a57b6f05f9
test e() with javascript
2010-07-08 19:30:36 +02:00
cloudhead
e36080a3ff
preliminary support for evaluating JavaScript code inside LESS
2010-07-08 19:04:36 +02:00
cloudhead
9650615459
support parametric mixins with #
2010-07-08 00:27:32 +02:00
cloudhead
8422fdef6d
fix compound variable substitutions
2010-07-08 00:22:01 +02:00
cloudhead
3171a62f0d
fix font shorthand with %
2010-07-08 00:21:36 +02:00
cloudhead
cfde58463b
(test) mixin closures
2010-07-06 16:52:33 +02:00
cloudhead
d983d8d1a1
support functions in operations
2010-07-05 01:19:04 +02:00
cloudhead
c68867c8e2
support variables in url()
2010-07-04 10:45:55 +02:00
cloudhead
cbb432edef
fix syntax error with semi-colons in strings
2010-07-01 10:46:31 +02:00
cloudhead
f817dcd2fe
fix '!important' in certain scenarios
2010-06-27 16:40:12 -04:00
cloudhead
c8edfe8995
fix some issues with alpha getting lost
2010-06-19 14:35:37 -04:00
cloudhead
193fc96de1
fixed hsla => rgba conversion
2010-06-19 13:42:33 -04:00
cloudhead
a1e1f01338
fix comments in mixins.
2010-06-16 02:13:59 -04:00
cloudhead
345b8716d8
(new) Additions & improvements to color functions.
...
- Added spin() to change hue.
- Fixed darken/lighten to be additive.
- Added color extraction functions.
2010-06-15 20:13:19 -04:00
cloudhead
604261c3f0
@media tests
2010-05-22 18:24:57 -04:00
cloudhead
bfe0acb01b
don't cache return values. %() plays nice with strings
2010-05-13 20:15:59 -04:00
cloudhead
7d2fdbda58
test cases for recent fixes
2010-05-07 00:49:03 -07:00
cloudhead
31d0f6af3a
tests for value.length > 1 bug
2010-05-07 00:40:39 -07:00
cloudhead
59bd32bb12
be more flexible, pattern matching
2010-05-04 20:37:06 -04:00
cloudhead
1dcb4e77cb
make operations left-associative Closes #20
2010-05-03 14:25:12 -04:00
cloudhead
a4d4d55693
Evaluate function calls properly.
...
- `fun(f())` is now possible
- Anonymous can take normal strings
- Tests for `%()`
2010-04-30 14:07:05 -04:00
cloudhead
7a4e0ff77a
fixed selector attributes not parsing with a '-'
2010-04-28 17:29:22 -04:00
cloudhead
d56feee6f0
Support for pattern-matching on mixin calls.
2010-04-25 00:09:40 -04:00
cloudhead
3047f7603e
use a hash to store variables, fixes variable redifinition bug
2010-04-23 17:52:36 -04:00
cloudhead
fee1e305f0
fixed bug with passing variables to functions
2010-04-23 13:49:55 -04:00
cloudhead
15f0589f6c
Added a couple colour functions
...
saturate, desaturate, lighten, darken, greyscale.
2010-04-23 13:36:50 -04:00
cloudhead
7d27a181f8
Fixed HSL
...
HSL colors weren't working properly. The values weren't being normalized
to {0, 1}.
2010-04-23 13:35:36 -04:00
cloudhead
904d997730
the e() LESS function
...
used to escape strings in values.
Added Anonymous node to handle things like this.
2010-04-22 19:42:02 -04:00
cloudhead
6f8fa2d858
Fixed mixin calls not working from dynamic mixins
...
Dynamic mixins aren't treated enough like Rulesets.
There is some code duplication which needs to be cleaned up,
ideally they should share a prototype.
2010-04-22 13:34:49 -04:00