From a86f133919a035876d7187c403aceccc1824e65c Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Thu, 22 Dec 2011 22:50:17 -0500 Subject: [PATCH] Accidentally commited duplicate. --- lib/bootstrap-sass/config/bootstrap-sass.rb | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 lib/bootstrap-sass/config/bootstrap-sass.rb diff --git a/lib/bootstrap-sass/config/bootstrap-sass.rb b/lib/bootstrap-sass/config/bootstrap-sass.rb deleted file mode 100644 index 51bb904f..00000000 --- a/lib/bootstrap-sass/config/bootstrap-sass.rb +++ /dev/null @@ -1,14 +0,0 @@ -require 'sass' - -module Sass::Script::Functions - # LARS: Snatched from compass - 2011-11-29 - used for gradients in IE6-9 - # returns an IE hex string for a color with an alpha channel - # suitable for passing to IE filters. - def ie_hex_str(color) - assert_type color, :Color - alpha = (color.alpha * 255).round - alphastr = alpha.to_s(16).rjust(2, '0') - Sass::Script::String.new("##{alphastr}#{color.send(:hex_str)[1..-1]}".upcase) - end - declare :ie_hex_str, [:color] -end \ No newline at end of file