Loading lib/jsduck/tag/private.rb +15 −4 Original line number Diff line number Diff line Loading @@ -6,7 +6,17 @@ module JsDuck::Tag @pattern = "private" @signature = {:long => "private", :short => "PRI"} @html_position = POS_PRIVATE @css = ".signature .private { background-color: #FD6B1B }" # Orange @css = <<-EOCSS .signature .private { background-color: #FD6B1B; /* orange */ } .private-box { background-color: #fee; text-align: center; color: #600; margin-bottom: 1em; } EOCSS super end Loading @@ -15,9 +25,10 @@ module JsDuck::Tag return unless context[:tagname] == :class return [ "<p class='private'><strong>NOTE</strong> ", "This is a private utility class for internal use by the framework. ", "Don't rely on its existence.</p>", "<div class='rounded-box private-box'>", "<p><strong>NOTE:</strong> This is a private utility class for internal use ", "by the framework. Don't rely on its existence.</p>", "</div>", ] end end Loading template/resources/sass/_class_overview.scss +0 −7 Original line number Diff line number Diff line Loading @@ -60,13 +60,6 @@ @include guides-h3-heading; } } .class-overview { p.private { border: 1px solid #999; @include border-radius(5px); color: #600; background-color: #fee; padding: 10px 50px; text-align: center; } p.enum { border: 1px solid #999; @include border-radius(5px); Loading Loading
lib/jsduck/tag/private.rb +15 −4 Original line number Diff line number Diff line Loading @@ -6,7 +6,17 @@ module JsDuck::Tag @pattern = "private" @signature = {:long => "private", :short => "PRI"} @html_position = POS_PRIVATE @css = ".signature .private { background-color: #FD6B1B }" # Orange @css = <<-EOCSS .signature .private { background-color: #FD6B1B; /* orange */ } .private-box { background-color: #fee; text-align: center; color: #600; margin-bottom: 1em; } EOCSS super end Loading @@ -15,9 +25,10 @@ module JsDuck::Tag return unless context[:tagname] == :class return [ "<p class='private'><strong>NOTE</strong> ", "This is a private utility class for internal use by the framework. ", "Don't rely on its existence.</p>", "<div class='rounded-box private-box'>", "<p><strong>NOTE:</strong> This is a private utility class for internal use ", "by the framework. Don't rely on its existence.</p>", "</div>", ] end end Loading
template/resources/sass/_class_overview.scss +0 −7 Original line number Diff line number Diff line Loading @@ -60,13 +60,6 @@ @include guides-h3-heading; } } .class-overview { p.private { border: 1px solid #999; @include border-radius(5px); color: #600; background-color: #fee; padding: 10px 50px; text-align: center; } p.enum { border: 1px solid #999; @include border-radius(5px); Loading