cloudhead
4f25b7057b
usage info
2010-04-22 19:15:11 -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
ac7916aa87
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
bd91bd90aa
use puts instead of writeError, which was removed
2010-04-21 10:11:34 -04:00
cloudhead
03e669be21
less.js now works in firefox, safari and chrome
2010-04-01 22:37:59 -04:00
cloudhead
d87eca7d36
Array.isArray compat
2010-04-01 22:37:29 -04:00
cloudhead
9a34a05555
@import with .css files no longer precompiles. This gives us some extra
...
flexibility.
2010-03-30 15:32:38 -04:00
cloudhead
1721e02ae7
We aren't using adapters anymore.
2010-03-29 22:56:07 -04:00
cloudhead
92bdf598c7
quote 'import' so it doesn't freak out
2010-03-29 22:24:33 -04:00
cloudhead
38fe88abef
added compat.js and tree.js to build, it now builds in dist/
2010-03-29 22:24:09 -04:00
cloudhead
30bf1ff7f3
fix optimization option wrongly scoped
2010-03-29 22:13:36 -04:00
cloudhead
6086e903a8
fix benchmark
2010-03-27 02:32:30 -04:00
cloudhead
400427e47a
merge
2010-03-27 02:27:59 -04:00
cloudhead
24bba952c7
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
3a474c9bae
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
41d701de1d
Doc for Call, Comments, Operation..
2010-03-23 18:33:17 -04:00
cloudhead
aad5ff6385
putting the operate function in operation.js, to facilitate access from browser code
2010-03-23 01:19:12 -04:00
cloudhead
a2133e4b78
functional browser based parsing + css node creation
2010-03-23 01:16:59 -04:00
cloudhead
3287a6ce2c
fix typo in browser.js
2010-03-22 23:24:05 -04:00
cloudhead
8e43ece43b
forgot to add importing to README
2010-03-22 23:20:24 -04:00
cloudhead
be5d1999e3
no need for context passing
2010-03-22 23:15:25 -04:00
cloudhead
edf68ec0aa
String/trim()
2010-03-22 23:13:47 -04:00
cloudhead
5977640040
optimization level is taken from env now
2010-03-22 23:13:24 -04:00
cloudhead
ca43e06db9
browser.js init -- very basic browser support - Makefile also builds for browser now
2010-03-22 23:12:58 -04:00
cloudhead
a349b9b3fb
added render() convenience method. Returns an EventEmitter if no callback was passed.
2010-03-22 21:34:05 -04:00
cloudhead
259a4ad451
refactored the import mechanism, added some doc
2010-03-22 20:59:49 -04:00
cloudhead
336b655e16
allow for passing a context of evaluation to the importer
2010-03-22 20:59:11 -04:00
cloudhead
e480289a29
updated README
2010-03-22 20:15:28 -04:00
cloudhead
94f81a5fe0
removed unnecessary require
2010-03-22 20:15:06 -04:00
cloudhead
4f2678e5a5
remove makefile
2010-03-21 19:34:01 -04:00
cloudhead
3253afad27
asynchronous import functionality! All tests passing.
2010-03-21 19:18:47 -04:00
cloudhead
ef97105ce3
made parser reentrant for import support
2010-03-21 19:17:37 -04:00
cloudhead
35649b320f
fixed typo in package.json
2010-03-19 20:17:04 -04:00
cloudhead
80905fdc58
no need to pass starting values to toCSS() anymore
2010-03-19 20:14:35 -04:00
cloudhead
40f8671bcd
fix to undefined mixin error message
2010-03-19 19:46:37 -04:00
cloudhead
177bd33e63
package.json init, cause npm is nice
2010-03-19 19:17:49 -04:00
cloudhead
5ee3d47e11
operations.less now passes
2010-03-19 18:47:17 -04:00
cloudhead
10965a9034
allow for operations with no spaces, such as '4+5'
2010-03-19 18:46:42 -04:00
cloudhead
ef61aec5f1
refactored operand(), and take away parsing of -()
2010-03-19 18:05:36 -04:00
cloudhead
9a276481f1
Fix bin/lessc to use less.js and callback-style
2010-03-19 18:04:56 -04:00
cloudhead
f973deec28
refactored rule() cause the closure slows things down too much for some reason
2010-03-19 17:56:43 -04:00
cloudhead
215ef05907
added import.js to less.js
2010-03-19 17:50:48 -04:00
cloudhead
53996b2364
parse() is now asynch, and uses a callback
2010-03-19 17:50:35 -04:00
cloudhead
6345491495
require lib/less in benchmark
2010-03-19 17:50:10 -04:00
cloudhead
5088fca537
import.js init
2010-03-18 18:44:03 -04:00
cloudhead
953b620d11
I guess 'Makefile' starts with a cap..
2010-03-18 18:13:27 -04:00
cloudhead
2c0dc223ce
Parse @import properly.
2010-03-18 18:13:02 -04:00
cloudhead
00273d452c
don't use process.mixin, it's deprecated
2010-03-18 16:42:25 -04:00