Commit Graph

195 Commits

Author SHA1 Message Date
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
cloudhead
adc937d68e no more accessors.. they aren't very useful it turns out, with mixins 2010-03-18 14:50:50 -04:00
cloudhead
79a3b58fa8 fixed scope problem in parser 2010-03-18 14:49:10 -04:00
cloudhead
098474d9e6 Added make min for minification though google's js closure compiler. 2010-03-18 14:35:56 -04:00
cloudhead
742bb32308 Basic make less build rule 2010-03-13 20:29:18 -05: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
7e2217ba86 fixed and upgraded the css tests a little 2010-03-11 15:37: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
c244c01dd2 add title to test output, skip directories 2010-03-07 23:42:19 -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