Commit Graph

1904 Commits (master)
 

Author SHA1 Message Date
cloudhead fde347016b for now, we only support basic selectors, when mixing in, eventually, we can upgrade the Selector/match method to return the number of matched elements
15 years ago
cloudhead 2644014bdf refactored Ruleset/find() method, and added a match() method to Selector, to do selector matching.
15 years ago
cloudhead 3e8abb2abf typo
15 years ago
cloudhead 9cf5f74d31 Element constructor creates new Combinator if a string was passed
15 years ago
cloudhead d860763454 tweaked tests to match less.js
15 years ago
cloudhead 756e8d2434 skip variables in toCSS
15 years ago
cloudhead 4aea44f8f8 when evaluating a mixin, compile all matches, instead of just the first one
15 years ago
cloudhead a1c8d50699 mixin definition constructor init
15 years ago
cloudhead 4767b264e7 basic mixins with namespaces working. swoosh.
15 years ago
cloudhead fe0ed621b9 added ext/ folder, to hold some core prototype functions
15 years ago
cloudhead 095523bf59 Element constructor defaults to an empty Combinator, if none specified
15 years ago
cloudhead e9c6645b2c end rule
15 years ago
cloudhead e6c5c57755 inverse style to stylize
15 years ago
cloudhead efab821115 parse mixins, including namespace. For now, lets focus on one mixin per rule
15 years ago
cloudhead 14bc6def86 a little clearer ParseError output
15 years ago
cloudhead 3e0ad2bf73 eval method for Keyword
15 years ago
cloudhead 76eb332b24 Use anonymous functions for the parsers.. It saves us some file size.
15 years ago
cloudhead 46060d466f evaluate arguments, before passing them to a function
15 years ago
cloudhead 2682b6dc16 support for hsl(), rgb() etc
15 years ago
cloudhead 60ac2374c9 get functions.js working
15 years ago
cloudhead 6ea12f7aa5 mixin.js init
15 years ago
cloudhead 0c6366faaf functions.js init
15 years ago
cloudhead f70f6a542c merge node->tree changes
15 years ago
cloudhead 29f3d926f7 dev notice in README
15 years ago
cloudhead 69d973ed29 tree.js init
15 years ago
cloudhead 5ee0209e8a don't use Usage: node [options] script.js [arguments]
15 years ago
cloudhead 1032c84b98 refactored selector generation a little
15 years ago
cloudhead f0c00ab2b4 create an empty Combinator if none was specified. Refactored Combinator generation, and added + ~ ::
15 years ago
cloudhead adb2fd2864 try/catch around code-gen, in test. Catch some extra errors too
15 years ago
cloudhead 35b452bf00 error = null, when starting a parse
15 years ago
cloudhead 8ac1bdf06c proper nested selector rendering, wooh.
15 years ago
cloudhead cd764a2d8c give Element.toCSS a pre-space, useful when building new selectors
15 years ago
cloudhead 35af01d29a () around ternary operators
15 years ago
cloudhead 1c955c8cb3 fixed function name in alpha.js
15 years ago
cloudhead 1e16d0233c ParseErrors dont raise an exception anymore, we just set `parser.error` to the value of the error
15 years ago
cloudhead c804ed2ef1 simplified code-gen loop
15 years ago
cloudhead 5a1adf801a removed unused test files
15 years ago
cloudhead bb5adaa560 updated README
15 years ago
cloudhead 1cbda8b72f fixed benchmark.less
15 years ago
cloudhead bd88ab89ef optimize dimension parsing, also fixes weird bug
15 years ago
cloudhead b6b5d5f10a swap operands when dimension is first, in a color operation, use new operate() function
15 years ago
cloudhead 633660b7af refactored Color & Dimension operations
15 years ago
cloudhead 1c43df1b85 round numbers on color operations
15 years ago
cloudhead a7ae7c8514 node.operate, to operate on values, based on a string op
15 years ago
cloudhead 7944ce092b print to stdout if no output file was specified [lessc]
15 years ago
cloudhead d3852cf463 bin/ init
15 years ago
cloudhead 3903ed0864 changed rulesets.css output to match the new parser output
15 years ago
cloudhead fd8aa91ddc improved the chunkification process, and gave different options, as well as an option not to chunkify, through the `optimization` setting. The ideal split is now \n}
15 years ago
cloudhead aec37061e1 made benchmark file smaller, who has a 267KB .less file anyway?
15 years ago
cloudhead d97b30d9cc replace \r\n with \n
15 years ago