Permalink
Browse files

Functions with parentheses on the params

  • Loading branch information...
1 parent 4a77b32 commit deba59e0e1773c02915210e34c739cdae605ce15 @decioferreira committed Feb 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -20,9 +20,9 @@ task :less_to_scss do
# Variables
line.gsub!(/@(\w+)/, '$\1')
# Includes
- line.gsub!(/\.(\S+\([^\)]*\)\s*;)/, '@include \1')
+ line.gsub!(/\.(\S+\(.*\)\s*;)/, '@include \1')
# Mixins
- line.gsub!(/\.(\S+\([^\)]*\)\s*{)/, '@mixin \1')
+ line.gsub!(/\.(\S+\(.*\)\s*{)/, '@mixin \1')
puts line
end

0 comments on commit deba59e

Please sign in to comment.