compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/browser_support.rb
# Removes support for one or more aspects for the given simple function
# Example:
#
#   Compass::BrowserSupport.remove_support("image", "o", "ms")
#   # => Adds support for moz and webkit to the image() function.
#
# This function can be called one or more times in a compass configuration
# file in order to remove support for simple functions that no longer need to
# a prefix without waiting for a new compass release.
Removes support for one or more aspects for the given simple function
Example.



This function can be called one or more times in a compass configuration
file in order to remove support for simple functions that no longer need to
a prefix without waiting for a new compass release.
Removes support for one or more aspects for the given simple function Example . This function can be called one or more times in a compass configuration file in order to remove support for simple functions that no longer need to a prefix without waiting for a new compass release .
def remove_support(function, *aspects)
      aspects.each do |aspect|
        unless ASPECTS.include?(aspect)
          Compass::Util.compass_warn "Unknown support aspect: #{aspect}"
          next
        end
        SIMPLE_FUNCTIONS[function.to_s].reject!{|a| a == aspect.to_s}
      end
    end
def remove_support ( function , * aspects ) aspects . each do | aspect | unless ASPECTS . include? ( aspect ) Compass :: Util . compass_warn "Unknown support aspect: #{aspect}" next end SIMPLE_FUNCTIONS [ function . to_s ] . reject! { | a | a == aspect . to_s } end end
Removes support for one or more aspects for the given simple function
Example:
Removes support for one or more aspects for the given simple function Example :
function
aspects