lib/flamegraph/renderer.rb in flamegraph-0.0.4 vs lib/flamegraph/renderer.rb in flamegraph-0.0.5
- old
+ new
@@ -10,12 +10,12 @@
body = read('flamegraph.html')
body.sub! "/**INCLUDES**/",
if embed_resources
embed("jquery.min.js","d3.min.js","lodash.min.js")
else
- '<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
-<script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.0.8/d3.min.js"></script>
-<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/1.3.1/lodash.min.js"></script>'
+ '<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.0.8/d3.min.js"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.3.1/lodash.min.js"></script>'
end
body.sub!("/**DATA**/", ::JSON.generate(graph_data));
body
end