From dfc7c08c2afa59740fe9b755ee5ade42bab3fadc Mon Sep 17 00:00:00 2001 From: Charly Koza Date: Tue, 18 Jun 2013 12:20:10 +0200 Subject: [PATCH] allow gradients stops to accept an array --- lib/nib/gradients.styl | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nib/gradients.styl b/lib/nib/gradients.styl index 04936c10..0a45b44d 100644 --- a/lib/nib/gradients.styl +++ b/lib/nib/gradients.styl @@ -108,6 +108,7 @@ linear-gradient(start, stops...) prop = current-property[0] val = current-property[1] + stops = stops[0] if length(stops) == 1 and length(stops[0]) > 1 if start is a 'color' unshift(stops, start) start = top