[Pkg-javascript-commits] [less.js] 45/88: small approx 1% speed improvement
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:22:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v1.7.0
in repository less.js.
commit 15174c0860010be3969fed3008b2c79ce2cae8ad
Author: Luke Page <luke.a.page at gmail.com>
Date: Wed Feb 12 23:38:35 2014 +0000
small approx 1% speed improvement
---
lib/less/parser.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/less/parser.js b/lib/less/parser.js
index 46c74cf..7e0c4a2 100644
--- a/lib/less/parser.js
+++ b/lib/less/parser.js
@@ -737,6 +737,9 @@ less.Parser = function Parser(env) {
break;
}
}
+ if (peekChar('}')) {
+ break;
+ }
}
return root;
--
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