[Pkg-javascript-commits] [less.js] 11/88: Consistency fixes

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:22:21 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 82ab17c08217a44f46270695e4201756b6548d2c
Author: deviprsd21 <deviprsd21 at gmail.com>
Date:   Mon Jan 13 18:20:43 2014 +0530

    Consistency fixes
---
 lib/less/functions.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/less/functions.js b/lib/less/functions.js
index c6ab234..74c15e6 100644
--- a/lib/less/functions.js
+++ b/lib/less/functions.js
@@ -273,6 +273,9 @@ tree.functions = {
         for (i = 0; i < args.length; i++) {
             current = args[i];
             if (!(current instanceof tree.Dimension)) {
+                if(Array.isArray(args[i].value)) {
+                    Array.prototype.push.apply(args, Array.prototype.slice.call(args[i].value));
+                }
                 continue;
             }
             currentUnified = current.unify();

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