mirror of
https://github.com/less/less.js.git
synced 2026-02-09 22:45:28 -05:00
remove commented out code now implemented in parser
This commit is contained in:
@@ -172,15 +172,6 @@ less.Parser.environment = {
|
||||
var hrefParts = this.extractUrlParts(filename, window.location.href);
|
||||
var href = hrefParts.url;
|
||||
|
||||
// TODO - use pathDiff in less.node
|
||||
/*if (env.relativeUrls) {
|
||||
if (env.rootpath) {
|
||||
newFileInfo.rootpath = extractUrlParts(env.rootpath + pathDiff(hrefParts.path, newFileInfo.entryPath)).path;
|
||||
} else {
|
||||
newFileInfo.rootpath = hrefParts.path;
|
||||
}
|
||||
}*/
|
||||
|
||||
if (env.useFileCache && fileCache[href]) {
|
||||
try {
|
||||
var lessText = fileCache[href];
|
||||
|
||||
Reference in New Issue
Block a user