mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
Fixing url slash problem that caused failures.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
var importVisitor = this,
|
||||
evaldImportNode,
|
||||
inlineCSS = importNode.options.inline;
|
||||
|
||||
|
||||
if (!importNode.css || inlineCSS) {
|
||||
|
||||
try {
|
||||
|
||||
@@ -79,7 +79,7 @@ tree.Import.prototype = {
|
||||
var pathValue = path.value;
|
||||
// Add the base path if the import is relative
|
||||
if (pathValue && env.isPathRelative(pathValue)) {
|
||||
path.value = rootpath + pathValue;
|
||||
path.value = rootpath +pathValue;
|
||||
}
|
||||
}
|
||||
path.value = env.normalizePath(path.value);
|
||||
@@ -91,7 +91,7 @@ tree.Import.prototype = {
|
||||
var ruleset, features = this.features && this.features.eval(env);
|
||||
|
||||
if (this.skip) { return []; }
|
||||
|
||||
|
||||
if (this.options.inline) {
|
||||
//todo needs to reference css file not import
|
||||
var contents = new(tree.Anonymous)(this.root, 0, {filename: this.importedFilename}, true);
|
||||
|
||||
Reference in New Issue
Block a user