Commit Graph

22 Commits

Author SHA1 Message Date
Luke Page
98f2fef2df add option to disable javascript. Fixes #688 2013-07-05 06:52:29 +01:00
agatronic
446e164444 rename mute to reference 2013-07-05 06:51:04 +01:00
Luke Page
f4902f809c rename import silent to import mute. Fixes #1210 2013-07-05 06:51:02 +01:00
Luke Page
898e27f525 Add silent option 2013-07-05 06:50:53 +01:00
Luke Page
b726b0d96c Fix modifyVars to use a per file cache so less is re-evaluated properly. Also add tests and \n in case of comment on the last line 2013-07-05 06:49:09 +01:00
Luke Page
e82536bfca Simplify more of loadFile and make more of the env creation common between node and browser 2013-07-05 06:48:44 +01:00
Luke Page
c391e72c5e seperate sheet and env 2013-07-05 06:48:43 +01:00
Luke Page
6d160a2b9a use yui-compress option 2013-07-05 06:16:49 +01:00
Luke Page
c2dcb743d3 Allow creating parser without options. Fixes #1373 2013-07-05 06:09:40 +01:00
Kayo Phoenix
3bb4a10866 Fix: syncImport issue #1389 (nodejs) 2013-07-05 06:05:35 +01:00
Luke Page
65602099cc rename strictMaths to strictMath, set default to false, update strict options to take = on | off 2013-05-02 18:18:51 +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
Daniel Stockman
b9bc6e73a0 Pass silent and verbose flags to evalEnv. 2013-02-26 18:55:37 +00:00
Daniel Stockman
08175320f8 Functions use evalEnv, not parseEnv. (move ieCompat env flag) 2013-02-26 18:55:36 +00:00
Daniel Stockman
e4fe935ea1 Prevent data-uri function from embedding files larger than 32KB.
Although IE8 does support data-uris, it only does so with a limit of 32KB. It's a silly limitation, but a source of potential bugs. When the limit is exceeded, the data-uri() function will simply return a normal url() value with a relative path to the asset.

One may pass --no-ie-compat to lessc to avoid this safeguard.
2013-02-26 18:55:35 +00:00
Luke Page
e7cbc4c190 Fix data-uri relative url to be relative in the same way as normal url's 2013-02-17 12:44:31 +00:00
Luke Page
f68337e450 change data-uri to look at the file relative to the root or current less file. Fixes #1186 2013-02-16 22:11:01 +00:00
Luke Page
914eb404d7 Fix import errors in browser mode. Fixes #1117 and fixes #1118 2013-02-10 12:47:25 +00:00
Luke Page
3ef22f16f9 Add strictUnits option, add tests for legacy behaviour 2013-01-30 20:31:26 +00:00
Luke Page
988d378922 add evalEnv class and strictMaths option 2013-01-25 20:05:37 +00:00
Luke Page
531195c92d take maths further 2013-01-24 22:27:17 +00:00
Luke Page
e45ec8a31e refactoring - add a env type to better organise its properties 2013-01-23 19:07:29 +00:00