cloudhead
fae02b0889
(minor) formatting
2010-05-18 21:16:44 -04:00
James Foster
101790db21
Fixes for IE7 compatibility
2010-05-19 08:52:49 +08:00
cloudhead
d501d9df7b
(minor) formatting
2010-05-18 19:51:24 -04:00
cloudhead
d552222a65
[#.] is not optional in a mixin call
2010-05-18 19:49:19 -04:00
cloudhead
a288b9a219
(test) made benchmark more realistic
2010-05-18 19:48:52 -04:00
cloudhead
944a7c2be9
removed wildcard parser
2010-05-18 19:12:41 -04:00
cloudhead
87468e1d7e
removed VERSION file, the information is in package.json
2010-05-17 23:31:45 -04:00
cloudhead
9e9c988f79
removed trailing comma, which breaks minification
2010-05-17 23:28:23 -04:00
cloudhead
9c237b3fba
update README with new api
2010-05-17 23:11:55 -04:00
cloudhead
410b34314e
fix querySelectorAll call
2010-05-17 23:09:12 -04:00
cloudhead
5d89182809
version bump
2010-05-17 22:58:48 -04:00
cloudhead
a9b47a026c
added ECMAScript 4 compatibility
2010-05-17 22:57:11 -04:00
cloudhead
a3f252b727
don't cache return values. %() plays nice with strings
2010-05-13 20:15:59 -04:00
cloudhead
b38f5325c9
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
d8576de82a
version bump to 1.0.5
2010-05-07 00:50:54 -07:00
cloudhead
3cff4636dc
test cases for recent fixes
2010-05-07 00:49:03 -07:00
cloudhead
8ed7d8c9b8
Evaluate arguments before passing them to mixin.
...
Closes #23
2010-05-07 00:41:09 -07:00
cloudhead
565fdf4705
tests for value.length > 1 bug
2010-05-07 00:40:39 -07:00
cloudhead
8ef8bfed8c
rename variables() to variable()
2010-05-07 00:40:21 -07:00
cloudhead
3c89d3b9bd
evaluate Values of length > 1 properly
2010-05-06 09:46:36 -07:00
cloudhead
fb393e8f62
nvm compatibility
2010-05-05 01:00:00 -04:00
cloudhead
94780c2f72
moved index.js to lib/less
2010-05-05 00:23:45 -04:00
cloudhead
8cc50b0c99
version bump to 1.0.4
2010-05-04 20:38:08 -04:00
cloudhead
472da6ff23
whitespace
2010-05-04 20:37:14 -04:00
cloudhead
7155f44f43
be more flexible, pattern matching
2010-05-04 20:37:06 -04:00
cloudhead
0ec53f74e0
make operations left-associative Closes #20
2010-05-03 14:25:12 -04:00
cloudhead
839da27353
fix timestamps not being compared properly, when loading a .less
2010-04-30 15:22:58 -04:00
cloudhead
861bc2972a
fix error styles
2010-04-30 15:09:36 -04:00
cloudhead
d9dd858160
fix for when css isn't available in local storage
2010-04-30 14:49:58 -04:00
cloudhead
9afe2475db
Merge branch 'master' of github.com:cloudhead/less.js
2010-04-30 14:09:31 -04:00
cloudhead
9ff3b90e46
version bump to 1.0.3
2010-04-30 14:09:16 -04:00
cloudhead
1d9b95f9e6
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
30773f942f
New %
function, to perform string interpolation
2010-04-30 14:06:36 -04:00
Alexis Sellier
0c6c5b992b
fixed readme.
2010-04-29 14:56:16 -07:00
cloudhead
56ef191b82
added information on building less.js, in readme
2010-04-29 17:54:34 -04:00
cloudhead
0aaf715232
fixed selector attributes not parsing with a '-'
2010-04-28 17:29:22 -04:00
cloudhead
4347211270
use a timer to check when the dom is ready, before showing errors
2010-04-26 14:22:37 -04:00
cloudhead
210e2e1886
automatically set less.env in certain conditions
2010-04-26 14:22:18 -04:00
cloudhead
535a0301ba
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
f6d1cf981e
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
8c762b9e26
Support for pattern-matching on mixin calls.
2010-04-25 00:09:40 -04:00
cloudhead
7555c09707
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
1c52d6ac4d
use a hash to store variables, fixes variable redifinition bug
2010-04-23 17:52:36 -04:00
cloudhead
1e6cbbf61d
fixed bug with passing variables to functions
2010-04-23 13:49:55 -04:00
cloudhead
4c2be7b7b8
package.json update
2010-04-23 13:39:00 -04:00
cloudhead
767f264df1
bumped version to 1.0.1
2010-04-23 13:38:43 -04:00
cloudhead
688578a985
fixed readme
2010-04-23 13:37:31 -04:00
cloudhead
6778f51fc3
Added a couple colour functions
...
saturate, desaturate, lighten, darken, greyscale.
2010-04-23 13:36:50 -04:00
cloudhead
f0942511bb
Fixed HSL
...
HSL colors weren't working properly. The values weren't being normalized
to {0, 1}.
2010-04-23 13:35:36 -04:00
cloudhead
7be2b22cfb
the e() LESS function
...
used to escape strings in values.
Added Anonymous node to handle things like this.
2010-04-22 19:42:02 -04:00