[Pkg-javascript-commits] [less.js] 40/88: small simplification
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:22:24 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 7f26515630dddc31cf95c3cc198f51acccdff230
Author: Luke Page <luke.a.page at gmail.com>
Date: Tue Feb 11 22:02:48 2014 +0000
small simplification
---
lib/less/parser.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lib/less/parser.js b/lib/less/parser.js
index 76f312e..064e5f2 100644
--- a/lib/less/parser.js
+++ b/lib/less/parser.js
@@ -1785,10 +1785,7 @@ less.Parser = function Parser(env) {
}
if (hasBlock) {
- rules = this.block();
- if (rules) {
- rules = new(tree.Ruleset)(null, rules);
- }
+ rules = this.blockRuleset();
}
if (rules || (!hasBlock && value && $char(';'))) {
--
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