public class ImporterCallbackFactory extends Object
| Constructor and Description |
|---|
ImporterCallbackFactory(SassLibrary sass)
Create a new factory.
|
| Modifier and Type | Method and Description |
|---|---|
SassLibrary.Sass_C_Import_Callback |
create(Context originalContext,
Collection<Importer> importers)
Create a new callback for a list of importers.
|
public ImporterCallbackFactory(SassLibrary sass)
sass - The SASS library adapter.public SassLibrary.Sass_C_Import_Callback create(Context originalContext, Collection<Importer> importers)
Wraps a list of custom importers into one chain importer and create one libsass importer callback for this chain.
originalContext - The original context that will be compiled.importers - The list of custom importers.Copyright © 2015 bit3. All rights reserved.