mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
make relative path test for drive name case insensitive. Fixes #2292.
This commit is contained in:
@@ -76,7 +76,7 @@ contexts.Eval.prototype.isMathOn = function () {
|
||||
};
|
||||
|
||||
contexts.Eval.prototype.isPathRelative = function (path) {
|
||||
return !/^(?:[a-z-]+:|\/)/.test(path);
|
||||
return !/^(?:[a-z-]+:|\/i)/.test(path);
|
||||
};
|
||||
|
||||
contexts.Eval.prototype.normalizePath = function( path ) {
|
||||
|
||||
Reference in New Issue
Block a user