Sha256: 10408aee35b9cd761eef60085c25b368882ed6443b6dd851e1874ba1949ca58d

Contents?: true

Size: 526 Bytes

Versions: 5

Compression:

Stored size: 526 Bytes

Contents

require "jsduck/tag/deprecated_tag"

module JsDuck::Tag
  class Deprecated < DeprecatedTag
    def initialize
      @tagname = :deprecated
      @msg = "This {TAGNAME} has been <strong>deprected</strong>"
      @css = <<-EOCSS
        .signature .deprecated {
          background-color: #aa0000;
        }
        .deprecated-box {
          border: 2px solid #aa0000;
        }
        .deprecated-box strong {
          color: white;
          background-color: #aa0000;
        }
      EOCSS
      super
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jsduck-5.3.4 lib/jsduck/tag/deprecated.rb
jsduck-5.3.3 lib/jsduck/tag/deprecated.rb
jsduck-5.3.2 lib/jsduck/tag/deprecated.rb
jsduck-5.3.1 lib/jsduck/tag/deprecated.rb
jsduck-5.3.0 lib/jsduck/tag/deprecated.rb