remove commented out code now implemented in parser

This commit is contained in:
Luke Page
2014-02-24 09:41:31 +00:00
parent f65da55168
commit 208b32aac7

View File

@@ -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];