[Pkg-javascript-commits] [less.js] 22/285: remove commented out code now implemented in parser

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v2.0.0
in repository less.js.

commit 208b32aac7a29d0f4f608201839b009000dd63c5
Author: Luke Page <luke.a.page at gmail.com>
Date:   Mon Feb 24 09:41:31 2014 +0000

    remove commented out code now implemented in parser
---
 lib/less/environments/browser.js | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/lib/less/environments/browser.js b/lib/less/environments/browser.js
index 11cbace..ae45d11 100644
--- a/lib/less/environments/browser.js
+++ b/lib/less/environments/browser.js
@@ -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];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git



More information about the Pkg-javascript-commits mailing list