Remove bootlint which takes 1 second of render time on development
This commit is contained in:
parent
efb3a53605
commit
a88ef1a011
2 changed files with 0 additions and 6 deletions
|
@ -1,5 +0,0 @@
|
||||||
-# 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/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/piwik' if extra_config.has_key?('piwik_url') && extra_config.has_key?('piwik_site_id')
|
||||||
= render 'layouts/bootlint' if Rails.env.development?
|
|
||||||
|
|
Loading…
Reference in a new issue