From 289fc183b6e949de98f5504bb3f4d3e2b2f9448a Mon Sep 17 00:00:00 2001 From: Dominik Porada Date: Sat, 18 Oct 2014 11:43:56 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20overwrite=20default=20browser?= =?UTF-8?q?=20config=20with=20`nil`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #12 and #11. --- lib/middleman-autoprefixer/extension.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleman-autoprefixer/extension.rb b/lib/middleman-autoprefixer/extension.rb index 79c6025..b980e0b 100644 --- a/lib/middleman-autoprefixer/extension.rb +++ b/lib/middleman-autoprefixer/extension.rb @@ -65,7 +65,7 @@ def process(response, path) def prefix(content) config = {} - config[:browsers] = Array(@browsers) + config[:browsers] = Array(@browsers) unless @browsers.nil? config[:cascade] = @cascade unless @cascade.nil? ::AutoprefixerRails.process(content, config).css