• Mark Chao's avatar
    Make Highlight accept language param · 39ae9a59
    Mark Chao authored
    This replaces the repository param.
    This allows more flexiblity as sometimes we have highlight content
    not related to repository. Sometimes we know ahead of time the language
    of the content. Lastly language determination seems better fit as a
    logic in the Blob class.
    `repository` param is only used to determine the language, which seems
    to be the responsiblity of Blob.
    39ae9a59
_viewer.html.haml_spec.rb 2.34 KB