cloudhead
c020db0240
(doc) comments
2010-07-06 16:51:57 +02:00
cloudhead
4bb4c97357
make mixins behave like closures
2010-07-06 16:48:05 +02:00
cloudhead
8a0a0346c3
removed constructor names
2010-06-19 01:51:26 -04:00
cloudhead
de301d599f
don't break when a node doesn't have an eval() function
2010-06-16 18:58:32 -04:00
cloudhead
7a80774960
fix comments in mixins.
2010-06-16 02:13:59 -04:00
cloudhead
7a2ce13712
better cross-environment handling. stub out require() in browser.
2010-06-15 18:44:59 -04:00
cloudhead
4bb64a2753
(new) css compression support
2010-06-11 21:45:51 -04:00
cloudhead
0075217391
removed unnecessary code in Ruleset#toCSS
2010-05-22 20:57:10 -04:00
cloudhead
697136961e
support CSS3 @media more fully
2010-05-22 18:24:37 -04:00
cloudhead
b38f5325c9
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
8ef8bfed8c
rename variables() to variable()
2010-05-07 00:40:21 -07:00
cloudhead
8c762b9e26
Support for pattern-matching on mixin calls.
2010-04-25 00:09:40 -04:00
cloudhead
1c52d6ac4d
use a hash to store variables, fixes variable redifinition bug
2010-04-23 17:52:36 -04:00
cloudhead
1b5452652a
refactored mixin.definition.eval
2010-04-22 13:47:01 -04:00
cloudhead
444401dc3c
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
cloudhead
23640fe116
Fix dynamic mixins with nested rules
...
Dynamic mixins with more than one level of nesting wouldn't work.
This is now fixed. Also refactored mixin.definition.eval a little.
2010-04-22 13:07:41 -04:00
cloudhead
3253afad27
asynchronous import functionality! All tests passing.
2010-03-21 19:18:47 -04:00
cloudhead
80905fdc58
no need to pass starting values to toCSS() anymore
2010-03-19 20:14:35 -04:00
cloudhead
fe732e843c
refactor of module system. Things work properly now, and it's all much cleaner.
2010-03-13 03:34:48 -05:00
cloudhead
77b2a36059
Cache mixin lookups for a nice speed boost.
2010-03-09 23:56:49 -05:00
cloudhead
6228f4a6d2
cache ruleset lookup
2010-03-07 23:11:20 -05:00
cloudhead
a68a2fc6bf
cache variable lookup for a 20% speedup
2010-03-07 23:02:16 -05:00
cloudhead
d8838a01d0
eval() for Ruleset
2010-03-07 18:50:58 -05:00
cloudhead
2b0853de81
comments, wooh!
2010-03-06 17:53:55 -05:00
cloudhead
808bd55a95
let us just assume that a rule which contains subrules is a ruleset
2010-03-06 17:34:08 -05:00
cloudhead
f0f425de33
move node/ -> tree/
2010-03-05 19:19:14 -05:00