cloudhead
|
25dbfb177a
|
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
|
1e0cfe9ac1
|
Reorganized some of the parsing rule order
- Fix for "{" not parsing
- Use some backtracking when necessary,
it's prettier than crazy lookaheads.
|
2010-04-21 10:12:29 -04:00 |
|
cloudhead
|
87e209ed8a
|
less.js now works in firefox, safari and chrome
|
2010-04-01 22:37:59 -04:00 |
|
cloudhead
|
5d5024e70e
|
@import with .css files no longer precompiles. This gives us some extra
flexibility.
|
2010-03-30 15:32:38 -04:00 |
|
cloudhead
|
c60c2da306
|
We aren't using adapters anymore.
|
2010-03-29 22:56:07 -04:00 |
|
cloudhead
|
e3df96762e
|
quote 'import' so it doesn't freak out
|
2010-03-29 22:24:33 -04:00 |
|
cloudhead
|
660d2f76ba
|
fix optimization option wrongly scoped
|
2010-03-29 22:13:36 -04:00 |
|
cloudhead
|
b844de97e3
|
merge
|
2010-03-27 02:27:59 -04:00 |
|
cloudhead
|
0267de4fac
|
removed lib/ext, moved lib/less.js to /index.js, moved Array/find to tree.find
|
2010-03-27 02:26:55 -04:00 |
|
cloudhead
|
f6312ba794
|
Created a compat.js file in build/, for browser compatiblity, moved trim() in
there. LESS builds to dist/ now.
|
2010-03-27 02:24:39 -04:00 |
|
cloudhead
|
fc616b4aa4
|
Doc for Call, Comments, Operation..
|
2010-03-23 18:33:17 -04:00 |
|
cloudhead
|
374702c926
|
putting the operate function in operation.js, to facilitate access from browser code
|
2010-03-23 01:19:12 -04:00 |
|
cloudhead
|
f76f6984a9
|
functional browser based parsing + css node creation
|
2010-03-23 01:16:59 -04:00 |
|
cloudhead
|
dd9d2cbeb4
|
fix typo in browser.js
|
2010-03-22 23:24:05 -04:00 |
|
cloudhead
|
5c1f326287
|
no need for context passing
|
2010-03-22 23:15:25 -04:00 |
|
cloudhead
|
3f51a5f184
|
String/trim()
|
2010-03-22 23:13:47 -04:00 |
|
cloudhead
|
06bf75c3a2
|
optimization level is taken from env now
|
2010-03-22 23:13:24 -04:00 |
|
cloudhead
|
823d69fd67
|
browser.js init -- very basic browser support - Makefile also builds for browser now
|
2010-03-22 23:12:58 -04:00 |
|
cloudhead
|
05044028cf
|
added render() convenience method. Returns an EventEmitter if no callback was passed.
|
2010-03-22 21:34:05 -04:00 |
|
cloudhead
|
d0b6573017
|
refactored the import mechanism, added some doc
|
2010-03-22 20:59:49 -04:00 |
|
cloudhead
|
a560c8bfbd
|
allow for passing a context of evaluation to the importer
|
2010-03-22 20:59:11 -04:00 |
|
cloudhead
|
5ea82f8588
|
removed unnecessary require
|
2010-03-22 20:15:06 -04:00 |
|
cloudhead
|
4ad707ea8e
|
asynchronous import functionality! All tests passing.
|
2010-03-21 19:18:47 -04:00 |
|
cloudhead
|
2b4b0cbdf6
|
made parser reentrant for import support
|
2010-03-21 19:17:37 -04:00 |
|
cloudhead
|
9a583ca6ca
|
no need to pass starting values to toCSS() anymore
|
2010-03-19 20:14:35 -04:00 |
|
cloudhead
|
26d12af25a
|
fix to undefined mixin error message
|
2010-03-19 19:46:37 -04:00 |
|
cloudhead
|
d91bc37904
|
operations.less now passes
|
2010-03-19 18:47:17 -04:00 |
|
cloudhead
|
38ffbb40ac
|
allow for operations with no spaces, such as '4+5'
|
2010-03-19 18:46:42 -04:00 |
|
cloudhead
|
4bbc382300
|
refactored operand(), and take away parsing of -()
|
2010-03-19 18:05:36 -04:00 |
|
cloudhead
|
e7954adcc0
|
refactored rule() cause the closure slows things down too much for some reason
|
2010-03-19 17:56:43 -04:00 |
|
cloudhead
|
853ae60048
|
added import.js to less.js
|
2010-03-19 17:50:48 -04:00 |
|
cloudhead
|
4ae9e31c40
|
parse() is now asynch, and uses a callback
|
2010-03-19 17:50:35 -04:00 |
|
cloudhead
|
a31f71d364
|
import.js init
|
2010-03-18 18:44:03 -04:00 |
|
cloudhead
|
d08072d0dd
|
Parse @import properly.
|
2010-03-18 18:13:02 -04:00 |
|
cloudhead
|
f7b8b5b217
|
don't use process.mixin, it's deprecated
|
2010-03-18 16:42:25 -04:00 |
|
cloudhead
|
8812c45c77
|
fixed scope problem in parser
|
2010-03-18 14:49:10 -04:00 |
|
cloudhead
|
854f65f079
|
Refactored parsers.rule
|
2010-03-13 20:15:44 -05:00 |
|
cloudhead
|
61a7b2e9e7
|
Added lots more documentation to the parser
|
2010-03-13 20:14:44 -05: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
|
e0623094fa
|
part 2 of the comment pass
|
2010-03-12 15:03:05 -05:00 |
|
cloudhead
|
be11ab6b89
|
some eval functions for good measure
|
2010-03-11 15:36:50 -05:00 |
|
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 |
|