Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Label "Public" classes as "Essential"
Browse files Browse the repository at this point in the history
Prior to this change, "Public" classes were labeled as "Public", which
differs from the behavior on atom.io. See screenshot:

https://user-images.githubusercontent.com/2988/60625837-f0bc6d00-9db6-11e9-83f4-0e78c12d96cb.png

This commit resolves that discrepancy. "Public" classes will now be
labeled as "Essential".
  • Loading branch information
jasonrudolph committed Jul 15, 2019
1 parent b3e6add commit 60234aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/filters/api_json_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def visibility_label(data)
<span
class="label label-#{visibility_class(data["visibility"])}"
title="This class is in the #{visibility_class(data["visibility"])} API">
#{data["visibility"]}
#{visibility(data["visibility"])}
</span>
HTML
end
Expand Down

0 comments on commit 60234aa

Please sign in to comment.