Commit Graph

30 Commits

Author SHA1 Message Date
Luke Page
27dea8ed2b Fix variables with important to be consistent - Fixes #2286 2014-11-15 11:07:10 +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
7dfc0cf9b0 Merge branch 'whitespace' of github.com:XhmikosR/less.js into 2_0_0
Conflicts:
	lib/less/functions.js
	lib/less/index.js
	lib/less/tree/anonymous.js
	lib/less/tree/media.js
	lib/less/tree/mixin.js
2014-03-02 12:36:49 +00:00
XhmikosR
7efbcd31cf Trim trailing whitespace. 2014-03-02 14:06:26 +02: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
seven-phases-max
34f54cf645 improved error message for undefined variable in js eval statement, more clean fix. 2013-12-27 17:51:54 +04:00
seven-phases-max
4d7a2bcd84 improved error message for undefined variable in js eval statement. 2013-12-27 17:42:37 +04:00
Luke Page
3818727bf7 jshint: boss 2013-12-16 23:23:34 +00:00
Daniel Stockman
8eeaf87a79 JSHint lib/* and test runners. 2013-07-08 19:09:03 -07:00
Luke Page
5d54af2039 import interpolation finished. refactored the import phase to occur only within the import visitor - so that the import eval env can be passed between imports. 2013-03-01 13:40:54 +00:00
Luke Page
c56db94b7d Add modified (self altering) visitor pattern and class 2013-03-01 13:40:00 +00:00
Luke Page
6ec856097c self referencing variable gives a proper error (no stack overflow). Fixes #972 2012-10-29 20:22:05 +00:00
Alexis Sellier
aefd310514 fix Runtime error reports from imported files 2012-01-11 00:55:14 +01:00
Alexis Sellier
c290c48b3f node 0.5.x compatibility 2011-11-12 13:13:36 +01:00
Alexis Sellier
e2ad523746 (new) variable variables 2011-05-11 11:29:27 -04:00
cloudhead
a72966fa6a removed constructor names 2010-06-19 01:51:26 -04:00
cloudhead
7768d41050 better cross-environment handling. stub out require() in browser. 2010-06-15 18:44:59 -04:00
cloudhead
25e3205eb3 Better error messages, wrap browser.js. 2010-06-07 15:47:41 -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
f7a6046fc8 rename variables() to variable() 2010-05-07 00:40:21 -07:00
cloudhead
3047f7603e use a hash to store variables, fixes variable redifinition bug 2010-04-23 17:52:36 -04:00
cloudhead
0267de4fac removed lib/ext, moved lib/less.js to /index.js, moved Array/find to tree.find 2010-03-27 02:26:55 -04: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
be11ab6b89 some eval functions for good measure 2010-03-11 15:36:50 -05:00
cloudhead
07837a83a7 refactored variable lookup 2010-03-07 23:33:26 -05:00
cloudhead
f0f425de33 move node/ -> tree/ 2010-03-05 19:19:14 -05:00