mirror of
https://github.com/less/less.js.git
synced 2026-01-22 21:58:14 -05:00
Fixed issue cloudhead/less.js#1272
Local path should now work correctly.
This commit is contained in:
@@ -214,7 +214,7 @@ function extractUrlParts(url, baseUrl) {
|
||||
if (!baseUrlParts) {
|
||||
throw new Error("Could not parse page url - '"+baseUrl+"'");
|
||||
}
|
||||
urlParts[1] = baseUrlParts[1];
|
||||
urlParts[1] = baseUrlParts[1] || "";
|
||||
if (!urlParts[2]) {
|
||||
urlParts[3] = baseUrlParts[3] + urlParts[3];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user