Re: [haml] Re: SCSS function to remove a portion of the sting #ffffff ffffff

2011-03-04 Thread Mike Branderhorst
I run into another problem. ff is renamed to white. How can I prevent this? On Tue, Feb 22, 2011 at 3:30 AM, Mike Branderhorst mikebranderho...@gmail.com wrote: Thx Chris, It works :-) I added the next lines to the bottom of my config.rb module Sass::Script::Functions def gsub

Re: [haml] Re: SCSS function to remove a portion of the sting #ffffff ffffff

2011-02-21 Thread Mike Branderhorst
Thx Chris, It works :-) I added the next lines to the bottom of my config.rb module Sass::Script::Functions def gsub(string, regexp, replacement) Sass::Script::String.new(string.value.gsub(Regexp.new(regexp.value), replacement.value)) end end And used it like this: $someComputedColor: