[Pkg-javascript-commits] [less.js] 36/58: Update parser.js

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


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

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

commit 1aec38f440122631a87914acb617ed36cc36d69d
Author: Bass Jobsen <bass at w3masters.nl>
Date:   Mon Jan 19 09:13:49 2015 +0100

    Update parser.js
---
 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 f1cf119..7b016d1 100644
--- a/lib/less/parser/parser.js
+++ b/lib/less/parser/parser.js
@@ -1169,7 +1169,7 @@ var Parser = function Parser(context, imports, fileInfo) {
             },
 
             importOption: function() {
-                var opt = parserInput.$re(/^(less|css|multiple|once|inline|reference)/);
+                var opt = parserInput.$re(/^(less|css|multiple|once|inline|reference|optional)/);
                 if (opt) {
                     return opt[1];
                 }

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