def add(name)
      if name =~ /\*/
        @patterns << make_pattern(name)
      elsif name =~ /^@browser$/i
        WEB_APIS.each do |cls|
          @class_names[cls] = true
        end
      else
        @class_names[name] = true
      end
    end
def add(name)
      if name =~ /\*/
        @patterns << make_pattern(name)
      elsif name =~ /^@browser$/i
        WEB_APIS.each do |cls|
          @class_names[cls] = true
        end
      else
        @class_names[name] = true
      end
    end
Adds a classname or pattern to list of external classes.