Commit Graph

38 Commits

Author SHA1 Message Date
seven-phases-max
ccd49bb619 improve keyword and anonymous input for replace (and %) 2014-11-25 04:04:50 +04:00
Luke Page
c757befb4f flatten import visitor so that variable imports can be processed at the end of a global queue 2014-10-23 21:33:28 +01: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
6bd327b3f4 Merge branch 'iterated-interpolation-2094' of github.com:SomMeri/less-rhino.js into 2_0_0
Conflicts:
	lib/less/tree/quoted.js
2014-09-06 14:39:32 +01:00
Luke Page
cf0ac69767 Merge branch 'reworked-guard-comparison' of github.com:seven-phases-max/less.js into 2_0_0
Conflicts:
	lib/less/tree.js
	lib/less/tree/anonymous.js
	lib/less/tree/color.js
	lib/less/tree/condition.js
	lib/less/tree/dimension.js
	lib/less/tree/keyword.js
	lib/less/tree/quoted.js
2014-09-06 01:52:47 +01:00
jurcovicovam
a038121676 Cleaned up and added iteration for javascript too. 2014-09-05 17:04:06 +02:00
jurcovicovam
796d37cc66 Iterated string interpolation
Solves issue #2094 .
2014-09-05 16:47:37 +02:00
seven-phases-max
c4e2514905 reworked guard comparison 2014-09-04 01:14:51 +04: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
fdd01f6b00 merge in latest 1.7.1 release 2014-06-10 19:30:21 +01:00
Luke Page
5647d4d276 Ignore quote type when comparing values. Fixes #1992 2014-05-06 06:20:07 +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
Luke Page
8b68ecd98e Fix missing parameter to Quoted - Fixes #1562 2013-10-15 18:13:27 +01:00
Luke Page
969e70a573 sourcemaps: Fix some issues with output, add an inline flag, add a test harness 2013-07-31 22:11:53 +01:00
Luke Page
b2a445c46c pass more lines and columns to the sourcemap generator. start passing the filenames to the sourcemap generator. 2013-07-20 23:02:28 +01:00
Luke Page
1cc63d11b4 convert the rest of the nodes to use genCSS 2013-07-18 12:47:11 +01:00
Luke Page
4db7c883cf start refactoring toCSS so we will be able to collect sourcemap information at the same time 2013-07-11 22:08:38 +01: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
703aa928fc Add tests for compression. remove fullhex function - make colors not compress when used in strings. 2013-01-06 10:33:31 +00:00
Luke Page
37c3b099c3 interpolation includes unit, but not quote. Use unit function to get old functionality. Fixes #782 2012-11-28 05:42:54 +00:00
Luke Page
a702b282e6 Allow comparing colors and strings. Fix a bug whereby sometimes a mixin-call or import would disappear. This makes the import test fail consistently instead of once out of 8 times depending on async order I think. 2012-08-05 22:47:05 +01:00
Alexis Sellier
17137c1a70 fix string interpolation bug when var is empty 2011-12-20 01:31:51 +01:00
Alexis Sellier
c290c48b3f node 0.5.x compatibility 2011-11-12 13:13:36 +01:00
cloudhead
853604a791 fix string interpolation with mixins, closes #272 2011-05-19 12:36:13 -04:00
Alexis Sellier
0726b9bd56 fix string interpolation with color values 2011-05-18 11:55:07 -04: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
Alexis Sellier
3823404878 (new) string interpolation and built-in escaping 2011-05-10 18:01:48 -04:00
cloudhead
4399c9c965 make strings behave like other nodes.
- rename 'content' to 'value'
2010-07-25 16:41:05 -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
fe732e843c refactor of module system. Things work properly now, and it's all much cleaner. 2010-03-13 03:34:48 -05:00
cloudhead
f0f425de33 move node/ -> tree/ 2010-03-05 19:19:14 -05:00