Removing comments

This commit is contained in:
Bryan Helmkamp 2008-11-29 01:45:03 -05:00
parent 5b8a15bae7
commit 2e69cb1911

View File

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