[Pkg-javascript-commits] [less.js] 74/285: small optimisation/fix todo

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 16c4f88b7f9e0857598cb24834b9a60003d9715f
Author: Luke Page <luke.a.page at gmail.com>
Date:   Mon Aug 25 12:25:54 2014 +0100

    small optimisation/fix todo
---
 lib/less/parser/parser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/less/parser/parser.js b/lib/less/parser/parser.js
index 164780e..06a36d5 100644
--- a/lib/less/parser/parser.js
+++ b/lib/less/parser/parser.js
@@ -1679,7 +1679,7 @@ var Parser = function Parser(env) {
                     }
                 }
 
-                if ((name.length > 1) && match(/^\s*((?:\+_|\+)?)\s*:/)) { //TODO remove start \s* - un-necessary
+                if ((name.length > 1) && match(/^((?:\+_|\+)?)\s*:/)) {
                     parserInput.forget();
 
                     // at last, we have the complete match now. move forward,

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