compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/sass_extensions/functions/sprites.rb
def sprite_has_valid_selector(selector)
    unless selector.value =~ /\A#{Sass::SCSS::RX::IDENT}\Z/
      raise Sass::SyntaxError, "#{selector} must be a legal css identifier"
    end
    Sass::Script::Bool.new true
  end
# Determines if the CSS selector is valid
Determines if the CSS selector is valid
Determines if the CSS selector is valid
def sprite_has_valid_selector(selector)
    unless selector.value =~ /\A#{Sass::SCSS::RX::IDENT}\Z/
      raise Sass::SyntaxError, "#{selector} must be a legal css identifier"
    end
    Sass::Script::Bool.new true
  end
def sprite_has_valid_selector ( selector ) unless selector . value =~ / \A #{ Sass :: SCSS :: RX :: IDENT } \Z / raise Sass :: SyntaxError , "#{selector} must be a legal css identifier" end Sass :: Script :: Bool . new true end
Determines if the CSS selector is valid
Determines if the CSS selector is valid
selector