Commit b6103a26 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Implement @chainable tag.

parent a4a58fad
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
require "jsduck/meta_tag"

module JsDuck::Tag
  # Implementation of @chainable tag
  class Chainable < JsDuck::MetaTag
    def initialize
      @name = "chainable"
      @key = :chainable
      @signature = {:long => "chainable", :short => "&gt;"} # show small right-arrow
      @boolean = true
    end
  end
end
+2 −0
Original line number Diff line number Diff line
@@ -128,6 +128,8 @@
    background-color: transparent;
    border: 1px solid #aa0000;
    text-decoration: line-through; }
  &.chainable {
    background-color: #00aa00; }
  &.static {
    background-color: $docs-text-color; }
  &.required {