Loading lib/jsduck/tag/chainable.rb +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ module JsDuck::Tag def initialize @pattern = "chainable" @signature = {:long => "chainable", :short => ">"} # show small right-arrow @css = ".signature .chainable { background-color: #00aa00 }" # green super end end Loading lib/jsduck/tag/deprecated.rb +1 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ module JsDuck::Tag class Deprecated < DeprecatedTag def initialize @tagname = :deprecated @css = ".signature .deprecated { background-color: #aa0000 }" # red super end end Loading lib/jsduck/tag/new.rb +7 −1 Original line number Diff line number Diff line Loading @@ -4,9 +4,15 @@ module JsDuck::Tag class New < BooleanTag def initialize @pattern = "new" # unicode black star char # A :tooltip field gets injected to this signature in Process::Versions @signature = {:long => "★", :short => "★"} # black (docs text color) unicode star on yellow background @css = <<-EOCSS .signature .new { color: #484848; background-color: #F5D833; } EOCSS super end end Loading lib/jsduck/tag/private.rb +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ module JsDuck::Tag @pattern = "private" @signature = {:long => "private", :short => "PRI"} @html_position = POS_PRIVATE @css = ".signature .private { background-color: #FD6B1B }" # Orange super end Loading lib/jsduck/tag/protected.rb +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ module JsDuck::Tag def initialize @pattern = "protected" @signature = {:long => "protected", :short => "PRO"} @css = ".signature .protected { background-color: #9B86FC }" # Violet super end end Loading Loading
lib/jsduck/tag/chainable.rb +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ module JsDuck::Tag def initialize @pattern = "chainable" @signature = {:long => "chainable", :short => ">"} # show small right-arrow @css = ".signature .chainable { background-color: #00aa00 }" # green super end end Loading
lib/jsduck/tag/deprecated.rb +1 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ module JsDuck::Tag class Deprecated < DeprecatedTag def initialize @tagname = :deprecated @css = ".signature .deprecated { background-color: #aa0000 }" # red super end end Loading
lib/jsduck/tag/new.rb +7 −1 Original line number Diff line number Diff line Loading @@ -4,9 +4,15 @@ module JsDuck::Tag class New < BooleanTag def initialize @pattern = "new" # unicode black star char # A :tooltip field gets injected to this signature in Process::Versions @signature = {:long => "★", :short => "★"} # black (docs text color) unicode star on yellow background @css = <<-EOCSS .signature .new { color: #484848; background-color: #F5D833; } EOCSS super end end Loading
lib/jsduck/tag/private.rb +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ module JsDuck::Tag @pattern = "private" @signature = {:long => "private", :short => "PRI"} @html_position = POS_PRIVATE @css = ".signature .private { background-color: #FD6B1B }" # Orange super end Loading
lib/jsduck/tag/protected.rb +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ module JsDuck::Tag def initialize @pattern = "protected" @signature = {:long => "protected", :short => "PRO"} @css = ".signature .protected { background-color: #9B86FC }" # Violet super end end Loading