cloudhead
|
9c84b50d5b
|
we need to make sure we're not eating a '-' in the operation parsing, it fucks up our generation of functions which start with a -
|
2010-03-11 15:36:32 -05:00 |
|
cloudhead
|
8adac6569e
|
output directives properly
|
2010-03-11 15:35:23 -05:00 |
|
cloudhead
|
553aaecf6a
|
font property parsing, mainly the 'small/12px' part.
|
2010-03-11 15:34:57 -05:00 |
|
cloudhead
|
9c0fb7174e
|
Cache Selector/toCSS()
|
2010-03-09 23:58:05 -05:00 |
|
cloudhead
|
77b2a36059
|
Cache mixin lookups for a nice speed boost.
|
2010-03-09 23:56:49 -05:00 |
|
cloudhead
|
c4413facad
|
did some refactoring in the parser, so we don't need to pass variables
to the $() function anymore. We also don't need to pass arrays around.
|
2010-03-08 23:45:57 -05:00 |
|
cloudhead
|
acd46cf7c6
|
refactoring of prototypes
|
2010-03-07 23:38:10 -05:00 |
|
cloudhead
|
07837a83a7
|
refactored variable lookup
|
2010-03-07 23:33:26 -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
|
be893c5993
|
support for nested rulesets inside dynamic mixins, with lexical scoping
|
2010-03-07 20:20:50 -05:00 |
|
cloudhead
|
d8838a01d0
|
eval() for Ruleset
|
2010-03-07 18:50:58 -05:00 |
|
cloudhead
|
7666c71b80
|
if something other than a Value was passed to the Rule constructor, wrap it in a Value
|
2010-03-07 18:50:31 -05:00 |
|
cloudhead
|
23775bda9b
|
implemented dynamic mixins
|
2010-03-07 18:49:54 -05:00 |
|
cloudhead
|
57013ebdf9
|
comments.js init
|
2010-03-06 17:54:11 -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
|
7b151447b1
|
peek() can take a string too now
|
2010-03-05 21:51:45 -05:00 |
|
cloudhead
|
289a775e83
|
simplified rule regex
|
2010-03-05 21:45:23 -05:00 |
|
cloudhead
|
b2d242ba39
|
some optimizations to make the parser run faster
|
2010-03-05 21:08:41 -05:00 |
|
cloudhead
|
d08c1fe559
|
basic directive css output
|
2010-03-05 19:23:39 -05:00 |
|
cloudhead
|
f0f425de33
|
move node/ -> tree/
|
2010-03-05 19:19:14 -05:00 |
|
cloudhead
|
287ecff0cf
|
added version number to less.js
|
2010-03-05 15:33:50 -05:00 |
|
cloudhead
|
0af5632531
|
renamed string to quoted, to match the node
|
2010-03-05 14:56:27 -05:00 |
|
cloudhead
|
cd5bddff99
|
when parsing a string, capture the content too
|
2010-03-05 14:55:21 -05:00 |
|
cloudhead
|
00279d8a06
|
in an operation, inherit the unit of either operand
|
2010-03-05 13:36:24 -05:00 |
|
cloudhead
|
74ec956602
|
just return self if trying to evaluate compound values, seeing as we use eval() for variable lookup/eval
|
2010-03-05 13:32:07 -05:00 |
|
cloudhead
|
181712e662
|
minor refactoring in rulesets output
|
2010-03-05 11:42:52 -05:00 |
|
cloudhead
|
76d4e08b30
|
the first element of a selector effectively has a descendant combinator, if none was specified
|
2010-03-05 11:42:13 -05:00 |
|
cloudhead
|
476581f77a
|
getting combinators to output properly. some little hacks, but it beats having a white-space sensitive grammar
|
2010-03-05 11:39:39 -05:00 |
|
cloudhead
|
b4f3e9029c
|
output strings in attribute selectors properly
|
2010-03-04 16:13:48 -05:00 |
|
cloudhead
|
7e3d8bda32
|
if a function isnt found, just output it literally
|
2010-03-04 16:13:19 -05:00 |
|
cloudhead
|
7539ef7323
|
fixed closing bracket for alpha not showing
|
2010-03-04 13:55:00 -05:00 |
|
cloudhead
|
6b938971df
|
fixed closing bracket for url not showing
|
2010-03-04 13:54:32 -05:00 |
|
cloudhead
|
2644014bdf
|
refactored Ruleset/find() method, and added a match() method to Selector, to do selector matching.
|
2010-03-04 13:50:52 -05:00 |
|
cloudhead
|
3e8abb2abf
|
typo
|
2010-03-04 13:48:37 -05:00 |
|
cloudhead
|
9cf5f74d31
|
Element constructor creates new Combinator if a string was passed
|
2010-03-04 13:48:24 -05:00 |
|
cloudhead
|
756e8d2434
|
skip variables in toCSS
|
2010-03-04 01:40:21 -05:00 |
|
cloudhead
|
4aea44f8f8
|
when evaluating a mixin, compile all matches, instead of just the first one
|
2010-03-03 22:13:14 -05:00 |
|
cloudhead
|
a1c8d50699
|
mixin definition constructor init
|
2010-03-03 21:22:11 -05:00 |
|
cloudhead
|
4767b264e7
|
basic mixins with namespaces working. swoosh.
|
2010-03-03 21:21:32 -05:00 |
|
cloudhead
|
fe0ed621b9
|
added ext/ folder, to hold some core prototype functions
|
2010-03-03 21:20:07 -05:00 |
|
cloudhead
|
095523bf59
|
Element constructor defaults to an empty Combinator, if none specified
|
2010-03-03 20:37:40 -05:00 |
|
cloudhead
|
e9c6645b2c
|
end rule
|
2010-03-03 12:01:17 -05:00 |
|
cloudhead
|
e6c5c57755
|
inverse style to stylize
|
2010-03-03 12:01:06 -05:00 |
|
cloudhead
|
efab821115
|
parse mixins, including namespace. For now, lets focus on one mixin per rule
|
2010-03-03 12:00:55 -05:00 |
|
cloudhead
|
14bc6def86
|
a little clearer ParseError output
|
2010-03-03 11:59:30 -05:00 |
|
cloudhead
|
3e0ad2bf73
|
eval method for Keyword
|
2010-03-03 11:59:08 -05:00 |
|
cloudhead
|
76eb332b24
|
Use anonymous functions for the parsers.. It saves us some file size.
|
2010-03-02 14:58:06 -05:00 |
|
cloudhead
|
46060d466f
|
evaluate arguments, before passing them to a function
|
2010-03-01 21:48:46 -05:00 |
|