Commit Graph

86 Commits

Author SHA1 Message Date
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
cloudhead
9fa99efc55 don't re-eval ruleset 2010-07-07 12:20:59 +02:00
cloudhead
22f25e19f2 remove evalRules, use eval 2010-07-07 12:19:15 +02:00
cloudhead
944b6703ad (minor) refactoring 2010-07-07 11:59:09 +02:00
cloudhead
5fcad4d348 fix mixin definitions inside other mixin definitions 2010-07-07 11:58:55 +02:00
cloudhead
e985bad5f4 fix error messages with no index 2010-07-07 11:58:26 +02:00
cloudhead
48690d0208 (doc) comments 2010-07-06 16:51:57 +02:00
cloudhead
04d2d3ab68 make mixins behave like closures 2010-07-06 16:48:05 +02:00
cloudhead
c68867c8e2 support variables in url() 2010-07-04 10:45:55 +02:00
cloudhead
f817dcd2fe fix '!important' in certain scenarios 2010-06-27 16:40:12 -04:00
cloudhead
94dff7d3a5 fix alpha() with numbers 2010-06-20 22:18:04 -04:00
cloudhead
a26eb790a5 fix @import not working. Better error message for empty response 2010-06-20 01:33:03 -04:00
cloudhead
c8edfe8995 fix some issues with alpha getting lost 2010-06-19 14:35:37 -04:00
cloudhead
10de9d02e4 critical fix for browser 2010-06-19 14:03:52 -04:00
cloudhead
193fc96de1 fixed hsla => rgba conversion 2010-06-19 13:42:33 -04:00
cloudhead
7984e97559 refactor inheritance in mixin.js 2010-06-19 02:05:09 -04:00
cloudhead
a72966fa6a removed constructor names 2010-06-19 01:51:26 -04:00
cloudhead
7726f98493 improve error reporting, provide a one line call-stack 2010-06-18 20:12:03 -04:00
cloudhead
6e0a5ad435 don't break when a node doesn't have an eval() function 2010-06-16 18:58:32 -04:00
cloudhead
a1e1f01338 fix comments in mixins. 2010-06-16 02:13:59 -04:00
cloudhead
691dab11af put Value in value.js 2010-06-15 18:46:09 -04:00
cloudhead
7768d41050 better cross-environment handling. stub out require() in browser. 2010-06-15 18:44:59 -04:00
cloudhead
123440864f (new) css compression support 2010-06-11 21:45:51 -04:00
cloudhead
25e3205eb3 Better error messages, wrap browser.js. 2010-06-07 15:47:41 -04:00
cloudhead
335d153d04 treat Directive like a Ruleset 2010-05-23 12:50:20 -04:00
cloudhead
f01976bb03 removed unnecessary code in Ruleset#toCSS 2010-05-22 20:57:10 -04:00
cloudhead
f35d035e51 support CSS3 @media more fully 2010-05-22 18:24:37 -04:00
cloudhead
5286c48220 removed trailing comma, which breaks minification 2010-05-17 23:28:23 -04:00
cloudhead
bfe0acb01b don't cache return values. %() plays nice with strings 2010-05-13 20:15:59 -04:00
cloudhead
f5f0919349 Refactored some of the evaluation mechanisms
- Don't call `eval` from `toCSS`
- Every node responds to `eval`
2010-05-07 23:21:16 -04:00
cloudhead
3def6cf5bf Evaluate arguments before passing them to mixin.
Closes #23
2010-05-07 00:41:09 -07:00
cloudhead
f7a6046fc8 rename variables() to variable() 2010-05-07 00:40:21 -07:00
cloudhead
50e76c3912 evaluate Values of length > 1 properly 2010-05-06 09:46:36 -07:00
cloudhead
59bd32bb12 be more flexible, pattern matching 2010-05-04 20:37:06 -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
d56feee6f0 Support for pattern-matching on mixin calls. 2010-04-25 00:09:40 -04:00