4233: remove explicit JS includes for showing Keep histogram now that they are in...
authorPhil Hodgson <bitbucket@philhodgson.net>
Sun, 16 Nov 2014 06:46:53 +0000 (07:46 +0100)
committerPhil Hodgson <bitbucket@philhodgson.net>
Sun, 16 Nov 2014 06:46:53 +0000 (07:46 +0100)
apps/workbench/app/views/keep_disks/_content_layout.html.erb

index 56177ae6e57cef33c7c9b959a8287eb0f96a5008..2cf3291c5c7173c3072c942ae2c9529f4a5ced10 100644 (file)
@@ -1,8 +1,5 @@
 <% unless @histogram_pretty_date.nil? %>
   <% content_for :tab_panes do %>
-  <%# We use protocol-relative paths here to avoid browsers refusing to load javascript over http in a page that was loaded over https. %>
-  <%= javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.2/raphael-min.js' %>
-  <%= javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/morris.js/0.4.3/morris.min.js' %>
   <script type="text/javascript">
     $(document).ready(function(){
       $.renderHistogram(<%= raw @cache_age_histogram.to_json %>);