Commit Graph

211 Commits

Author SHA1 Message Date
cloudhead
a3990f6b8a (dist) fuck I always forget to update this version number 2010-06-11 18:33:49 -04:00
cloudhead
f0ce0533f7 refactored and fixed css node creation, for watch mode 2010-06-11 18:18:40 -04:00
cloudhead
0f1f776e43 (new) set watch mode with less.watch() and .unwatch() 2010-06-11 18:17:35 -04:00
cloudhead
5365e28514 fix trying to create CSS from null root [browser] 2010-06-09 21:55:32 -04:00
cloudhead
8468209ffc (new) ability to @import on the browser 2010-06-07 18:20:13 -04:00
cloudhead
3c1db240bd move error message css back in error function 2010-06-07 16:26:22 -04:00
cloudhead
96f414d082 fix generated stylesheet title 2010-06-07 16:12:59 -04:00
cloudhead
693ef38edf decoupled single stylesheet loading 2010-06-07 16:12:25 -04:00
cloudhead
25e3205eb3 Better error messages, wrap browser.js. 2010-06-07 15:47:41 -04:00
cloudhead
d8289eb59b (new) auto stylesheet refreshing with '#!refresh' 2010-06-06 18:23:55 -04:00
cloudhead
652f1110d3 improve error reporting, include filename 2010-06-04 13:28:38 -04:00
cloudhead
7e03c8f345 fix error messages in cli 2010-06-04 12:34:41 -04:00
cloudhead
9e8c5860eb revert chunk split improvement 2010-06-04 12:27:25 -04:00
James Foster
05165ce90d Fixed incorrect inputLength. Avoid creating multiple empty chucks for consecutive blank lines. 2010-06-05 00:13:26 +08:00
cloudhead
0b30fe48c9 tweaks to bin/lessc 2010-06-01 21:48:13 -04:00
cloudhead
93d2a56f23 better fix for parse-error reporting 2010-06-01 21:34:56 -04:00
cloudhead
63bfdbfe4b fix parse error reporting when at beginning of file 2010-06-01 21:28:42 -04:00
cloudhead
9c390cbdf8 fix optimizations, and errors on multi-line comments 2010-06-01 21:21:59 -04:00
cloudhead
3755f632cc log error if no AJAX available 2010-05-23 12:52:23 -04:00
cloudhead
78a642739d Merge branch 'master' of github.com:cloudhead/less.js 2010-05-23 12:50:36 -04:00
cloudhead
335d153d04 treat Directive like a Ruleset 2010-05-23 12:50:20 -04:00
James Foster
93edde50d2 Fix for IE6 compatibility 2010-05-24 00:17:12 +08:00
cloudhead
f01976bb03 removed unnecessary code in Ruleset#toCSS 2010-05-22 20:57:10 -04:00
cloudhead
f35d035e51 support CSS3 @media more fully 2010-05-22 18:24:37 -04:00
cloudhead
d6934147d9 support [0-9_] in CSS attribute names 2010-05-22 15:13:02 -04:00
cloudhead
70045e9c4b (minor) formatting 2010-05-18 21:16:44 -04:00
James Foster
e501f2e47c Fixes for IE7 compatibility 2010-05-19 08:52:49 +08:00
cloudhead
61c2b5877a (minor) formatting 2010-05-18 19:51:24 -04:00
cloudhead
414fbc9dd4 [#.] is not optional in a mixin call 2010-05-18 19:49:19 -04:00
cloudhead
eaf3c7d187 removed wildcard parser 2010-05-18 19:12:41 -04:00
cloudhead
5286c48220 removed trailing comma, which breaks minification 2010-05-17 23:28:23 -04:00
cloudhead
9c0b843fd2 fix querySelectorAll call 2010-05-17 23:09:12 -04:00
cloudhead
9bc98c5efa added ECMAScript 4 compatibility 2010-05-17 22:57:11 -04:00
cloudhead
bfe0acb01b don't cache return values. %() plays nice with strings 2010-05-13 20:15:59 -04:00
cloudhead
f5f0919349 Refactored some of the evaluation mechanisms
- Don't call `eval` from `toCSS`
- Every node responds to `eval`
2010-05-07 23:21:16 -04:00
cloudhead
3def6cf5bf Evaluate arguments before passing them to mixin.
Closes #23
2010-05-07 00:41:09 -07:00
cloudhead
f7a6046fc8 rename variables() to variable() 2010-05-07 00:40:21 -07:00
cloudhead
50e76c3912 evaluate Values of length > 1 properly 2010-05-06 09:46:36 -07:00
cloudhead
1b9d4e472d moved index.js to lib/less 2010-05-05 00:23:45 -04:00
cloudhead
59bd32bb12 be more flexible, pattern matching 2010-05-04 20:37:06 -04:00
cloudhead
1dcb4e77cb make operations left-associative Closes #20 2010-05-03 14:25:12 -04:00
cloudhead
0a271ccb5b fix timestamps not being compared properly, when loading a .less 2010-04-30 15:22:58 -04:00
cloudhead
097f2ba455 fix error styles 2010-04-30 15:09:36 -04:00
cloudhead
5f653ce748 fix for when css isn't available in local storage 2010-04-30 14:49:58 -04:00
cloudhead
a4d4d55693 Evaluate function calls properly.
- `fun(f())` is now possible
- Anonymous can take normal strings
- Tests for `%()`
2010-04-30 14:07:05 -04:00
cloudhead
d75becf9ba New % function, to perform string interpolation 2010-04-30 14:06:36 -04:00
cloudhead
7a4e0ff77a fixed selector attributes not parsing with a '-' 2010-04-28 17:29:22 -04:00
cloudhead
280d741b38 use a timer to check when the dom is ready, before showing errors 2010-04-26 14:22:37 -04:00
cloudhead
45789d8d19 automatically set less.env in certain conditions 2010-04-26 14:22:18 -04:00
cloudhead
5fad97e483 Local Storage caching, and .less loading from disk
- .less files can now be loaded directly from disk
- nice error messages
- use HTML 5 storage to cache parsing
2010-04-25 19:42:49 -04:00