[Pkg-javascript-commits] [less.js] 72/285: make some corrections to comment

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:40 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 f3c323810c8ea9688eb3c86dd4021ebba401ce2c
Author: Luke Page <luke.a.page at gmail.com>
Date:   Mon Aug 25 09:32:41 2014 +0100

    make some corrections to comment
---
 lib/less/parser/parser.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/less/parser/parser.js b/lib/less/parser/parser.js
index b26cf6b..bc5052b 100644
--- a/lib/less/parser/parser.js
+++ b/lib/less/parser/parser.js
@@ -332,8 +332,9 @@ var Parser = function Parser(env) {
             input = str = preText + str.replace(/^\uFEFF/, '') + modifyVars;
             parser.imports.contents[env.currentFileInfo.filename] = str;
 
-            // chunking makes things quicker
-            // but it is a non-perfect parse - it can't recognise
+            // chunking apparantly makes things quicker (but my tests indicate
+            // it might actually make things slower in node at least)
+            // and it is a non-perfect parse - it can't recognise
             // unquoted urls, meaning it can't distinguish comments
             // meaning comments with quotes or {}() in them get 'counted'
             // and then lead to parse errors.

-- 
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