class JsDuck::Tag::Experimental

Public Class Methods

new() click to toggle source
Calls superclass method JsDuck::Tag::DeprecatedTag::new
# File lib/jsduck/tag/experimental.rb, line 5
    def initialize
      @tagname = :experimental
      @msg = "This {TAGNAME} is <strong>experimental</strong>"
      @since = "Introduced in"
      # dashed border
      @css = <<-EOCSS
        .signature .experimental {
          color: #a00;
          border: 1px dashed #a00;
          background-color: #fee;
        }
        .experimental-box {
          border: 2px dashed #ccc;
        }
        .experimental-box strong {
          margin: 0 3px;
          border: 2px dashed #a00;
          color: #a00;
        }
      EOCSS
      super
    end