jurcovicovam
86c1b0d557
Fix interpolated import into media #1645
...
Media objects do not have ruleset property. They have rules property which
always contains one-member array with fake ruleset in it.
2014-07-28 13:15:50 +02:00
Luke Page
d750151536
Found race condition that caused file not to be skipped in importOnce, leading to random exceptions. Fixes #1931
2014-07-27 16:09:17 +01:00
Luke Page
ccd8ebbfdf
always execute import-once in the same way. Fixes #1898
2014-02-27 06:12:31 +00:00
meri
cba972d0db
Fixing url slash problem that caused failures.
2013-12-18 16:17:00 +01:00
Luke Page
b0477fca22
import multiple has a cascade effect. fixes #1497
2013-10-04 06:54:58 +01:00
Luke Page
62751c917c
support inline css files in the sourcemaps
2013-09-17 19:37:00 +01:00
Luke Page
a10be4d6a6
Fix possible race condition in the import
2013-08-15 21:30:17 +01:00
Luke Page
898e27f525
Add silent option
2013-07-05 06:50:53 +01:00
Luke Page
6fc6dc2301
Add import inline option. Fixes #1209
2013-07-05 06:48:47 +01:00
Luke Page
dca9643a1a
If the callback throws an error and imports are syncronous, let the error fall through to the calling scope.
2013-03-18 10:12:57 +00:00
C. Scott Ananian
72c469d86e
Implement syntax in gh #1185 for @import options. Implement multiple & less.
...
First step in implementing syntax for @import options, proposed in
https://github.com/cloudhead/less.js/issues/1185#issuecomment-13710620
(steps (1) and (2)).
I've implemented the 'multiple' and 'less' options. One could trivially
add 'once' and 'css' options as well, if there was need. Proposed
"silent" and "inline" options are deferred for future work.
I left the existing "@import-multiple" and "@import-once" syntax in place,
although the proposal is for this to be deprecated once the new option
syntax is in place.
2013-03-05 11:23:47 +00:00
Luke Page
b48c0f929a
make visitor replacing optional
2013-03-04 08:14:13 +00:00
Luke Page
59a443556a
move action out of constructor
2013-03-01 14:50:38 +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
14cee5d04f
first test and fixes for simple implementation
2013-03-01 13:40:53 +00:00
Luke Page
9280b53291
make import visitor stack up frame scopes
2013-03-01 13:40:51 +00:00
Luke Page
290d7a055c
organise the import node a bit better. eval the node before fetching
2013-03-01 13:40:49 +00:00
Luke Page
e63c8c5868
Move importing into visitor
2013-03-01 13:40:03 +00:00
Luke Page
39f669e83c
Add import visitor
2013-03-01 13:40:01 +00:00