class ActionView::AbstractRenderer

def prepend_formats(formats) # :doc:

:doc:
def prepend_formats(formats) # :doc:
  formats = Array(formats)
  return if formats.empty? || @lookup_context.html_fallback_for_js
  @lookup_context.formats = formats | @lookup_context.formats
end