Commit Graph

21 Commits

Author SHA1 Message Date
Luke Page
1494e25ef0 More style cop.. 2015-01-30 18:28:02 +00:00
Luke Page
9d535c0470 Whitespace - undo unusual new() syntax 2014-10-19 16:57:22 +01:00
Luke Page
dedf0eee38 rename env to context to avoid confusion with environment 2014-10-05 18:50:34 +01:00
Luke Page
1a78cd5901 Remove unnecessary text from require statements 2014-09-08 00:57:50 +01:00
Luke Page
d3c6f2208f Move toCSS out to a new class (still need to remove creation of that class from parser) 2014-09-04 17:42:38 +01:00
Luke Page
16746e9b1e untangle the mess of dependencies and remove all circular dependencies. Remove un-necessary dependency injection. 2014-08-24 17:55:46 +01:00
Luke Page
08bd23dc2a add browserify (not yet working) and refactor tree nodes to not be dependent on their parent (currently breaks browser build) 2014-02-24 21:22:52 +00:00
meri
85197ee577 Merge branch 'master' of https://github.com/less/less.js into rhino
Conflicts:
	.gitattributes
	README.md
	test/index.js
2014-01-14 22:48:46 +01:00
Luke Page
6dfb00751c Fix for in without hasOwnProperty 2014-01-10 20:09:36 +00:00
lesswtf
216facd033 If result of evaluated javascript is a number return it as Dimension. 2013-12-30 05:11:24 +03:00
Oliver Becker
5baa4445bc normalize quotes to apostrophes in error messages from javascript evaluation (unify node/rhino error message) 2013-10-27 15:14:04 +01:00
Luke Page
0524e48c93 Merge branch 'patch-1' of https://github.com/quarterto/less.js into 1.5.0-wip 2013-09-01 18:27:37 +01:00
Matt Brennan
dc45573cf9 Better "JavaScript evaluation error" message
Less's messages for JavaScript evaluation errors do not contain the actual error thrown, making them very hard to debug. This PR adds the error message to the log.
2013-07-30 16:56:14 +01:00
Daniel Stockman
8eeaf87a79 JSHint lib/* and test runners. 2013-07-08 19:09:03 -07:00
Luke Page
c56db94b7d Add modified (self altering) visitor pattern and class 2013-03-01 13:40:00 +00:00
Alexis Sellier
c290c48b3f node 0.5.x compatibility 2011-11-12 13:13:36 +01:00
Alexis Sellier
9939ba5076 better JavaScript evaluation
- support for returning Array values
- Expressions/Values are passed as arrays to JavaScript
- fixed some edge cases
2011-05-17 20:47:42 -04:00
Alexis Sellier
37a90c6765 (new) interpolation & escaping of JS 2011-05-11 13:57:52 -04:00
cloudhead
c40c15f1f5 explicit evaluation of variables within js 2010-07-09 21:31:26 +02:00
cloudhead
cc82887c9f modify javascript eval to be compatible with e() 2010-07-08 19:28:34 +02:00
cloudhead
e36080a3ff preliminary support for evaluating JavaScript code inside LESS 2010-07-08 19:04:36 +02:00