Commit Graph

270 Commits

Author SHA1 Message Date
cloudhead
9951823b90 (doc) install instructions 2010-05-20 22:03:30 -04:00
cloudhead
118e230afd (dist) package.json update 2010-05-20 22:02:32 -04:00
cloudhead
5b12334599 version bump 2010-05-18 21:17:45 -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
a6e276f1b0 (test) made benchmark more realistic 2010-05-18 19:48:52 -04:00
cloudhead
eaf3c7d187 removed wildcard parser 2010-05-18 19:12:41 -04:00
cloudhead
ed1a632f35 removed VERSION file, the information is in package.json 2010-05-17 23:31:45 -04:00
cloudhead
5286c48220 removed trailing comma, which breaks minification 2010-05-17 23:28:23 -04:00
cloudhead
04655f3e82 update README with new api 2010-05-17 23:11:55 -04:00
cloudhead
9c0b843fd2 fix querySelectorAll call 2010-05-17 23:09:12 -04:00
cloudhead
ee75bca587 version bump 2010-05-17 22:58:48 -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
07d5c20862 version bump to 1.0.5 2010-05-07 00:50:54 -07:00
cloudhead
7d2fdbda58 test cases for recent fixes 2010-05-07 00:49:03 -07:00
cloudhead
3def6cf5bf Evaluate arguments before passing them to mixin.
Closes #23
2010-05-07 00:41:09 -07:00
cloudhead
31d0f6af3a tests for value.length > 1 bug 2010-05-07 00:40:39 -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
cdeb9ea29a nvm compatibility 2010-05-05 01:00:00 -04:00
cloudhead
1b9d4e472d moved index.js to lib/less 2010-05-05 00:23:45 -04:00
cloudhead
52d3051f04 version bump to 1.0.4 2010-05-04 20:38:08 -04:00
cloudhead
d08ffaed62 whitespace 2010-05-04 20:37:14 -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
de38e551e1 Merge branch 'master' of github.com:cloudhead/less.js 2010-04-30 14:09:31 -04:00
cloudhead
894941d019 version bump to 1.0.3 2010-04-30 14:09:16 -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
Alexis Sellier
26e2409d08 fixed readme. 2010-04-29 14:56:16 -07:00
cloudhead
f3e28e08bf added information on building less.js, in readme 2010-04-29 17:54:34 -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
cloudhead
e1062efa98 Overhaul of the error system
The parse() function no longer assumes the command-line is the output
device. We use less.writeError in node.js.
2010-04-25 19:39:21 -04:00
cloudhead
d56feee6f0 Support for pattern-matching on mixin calls. 2010-04-25 00:09:40 -04:00
cloudhead
2ebbf37c4b More accurate parse error messages
Because of the backtracking, we lose the previous point of failure.
The solution is to store the furthest point the parser has parsed to,
when backtracking, and using it when showing parse errors.
2010-04-25 00:06:45 -04:00
cloudhead
3047f7603e use a hash to store variables, fixes variable redifinition bug 2010-04-23 17:52:36 -04:00
cloudhead
fee1e305f0 fixed bug with passing variables to functions 2010-04-23 13:49:55 -04:00
cloudhead
d0b5f6f214 package.json update 2010-04-23 13:39:00 -04:00
cloudhead
83a47139f8 bumped version to 1.0.1 2010-04-23 13:38:43 -04:00
cloudhead
bdc8564ffe fixed readme 2010-04-23 13:37:31 -04:00