app/assets/javascripts/index.js.erb in attractor-0.4.2 vs app/assets/javascripts/index.js.erb in attractor-0.4.3

- old
+ new

@@ -1,9 +1,5 @@ -<% if @serve_static %> const data = <%= JSON.generate(@values) %>; -<% end %> -<% if @serve_static %> document.addEventListener('DOMContentLoaded', () => { const svg = chart(data, document.querySelector('#graph')); }); -<% end %>