Luke Page
6fc6dc2301
Add import inline option. Fixes #1209
2013-07-05 06:48:47 +01:00
Luke Page
8437d0766d
remove short lived @import-once in favour of @import (default is once) and @import (multiple) for multiple
2013-03-05 11:39:05 +00: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
addf87a75f
Fix browser tests by moving url re-writing tests to urls.less. Also fix browser rootpath.
2012-12-28 12:38:49 +00:00
Salim Bensiali
37729e17af
Added missing newline at end of file
2012-12-27 20:43:55 +00:00
Salim Bensiali
e59a93b5fd
Relative URLs in LESS files should be relative to the file that defines them.
...
It is up to the parser and compiler to rewrite them when those files are
imported by another LESS file.
- Modified and added test cases for import and import-once rules
- Fixed difference between client side and server side handling of relative urls
- Added a -rootpath option to lessc to specify another base path for the url
rewriting. By default, rootpath=''
2012-12-27 20:40:16 +00:00
Luke Page
8cfe7acdae
make import-once use the full path, not the possibly relative path to determine if an import has already been included
2012-12-22 10:21:28 +00:00
Luke Page
eb7242da30
Test that import paths load from the current directory first
2012-12-22 07:53:41 +00:00
tscheinecker
1f19a043a5
only include the first @charset definition - subsequent ones will be
...
rendered as a comment + debugInfo when debugging is enabled.
2012-10-28 14:06:56 +00:00
Luke Page
70870dd9dd
Fix unit test for import-once so that tests pass. Previous test commit had bad assumptions
2012-07-29 16:26:55 +01:00
Alexis Sellier
7dd31ff654
improve import support with media features
2012-01-05 21:31:39 +01:00
cloudhead
70e6523db4
test files, from less.rb
2010-02-23 18:02:00 -05:00