Commit 5d952f75 authored by Clement Ho's avatar Clement Ho

Merge branch 'remove-bootlint' into 'master'

Remove bootlint which takes 1 second of render time on development

Closes #37657

See merge request !14167
parents efb3a536 a88ef1a0
-# haml-lint:disable InlineJavaScript
:javascript
window.onload = function() {
var s=document.createElement("script");s.onload=function(){bootlint.showLintReportForCurrentDocument([], {hasProblems: false, problemFree: false});};s.src="https://maxcdn.bootstrapcdn.com/bootlint/latest/bootlint.min.js";document.body.appendChild(s);
}
......@@ -76,4 +76,3 @@
= render 'layouts/google_analytics' if extra_config.has_key?('google_analytics_id')
= render 'layouts/piwik' if extra_config.has_key?('piwik_url') && extra_config.has_key?('piwik_site_id')
= render 'layouts/bootlint' if Rails.env.development?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment