Removing comments

This commit is contained in:
Bryan Helmkamp 2008-11-29 01:45:03 -05:00
parent 5b8a15bae7
commit 2e69cb1911
1 changed files with 1 additions and 8 deletions

View File

@ -95,14 +95,7 @@ module Webrat #:nodoc:
end
def self.css_search(element, *searches) #:nodoc:
# if Webrat.configuration.parse_with_nokogiri?
xpath_search(element, css_to_xpath(*searches))
# element.css(*searches)
# else
# searches.map do |search|
# element.search(search)
# end.flatten.compact
# end
xpath_search(element, css_to_xpath(*searches))
end
def self.css_to_xpath(*selectors)