Welcome to mirror list, hosted at ThFree Co, Russian Federation.

defer_script_tag_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e1567556e5ebcd34bc365e926871d0f0ab8c10c8 (plain)
1
2
3
4
5
6
module DeferScriptTagHelper
  # Override the default ActionView `javascript_include_tag` helper to support page specific deferred loading
  def javascript_include_tag(*sources)
    super(*sources, defer: true)
  end
end