lib/flamegraph/renderer.rb in flamegraph-0.1.0 vs lib/flamegraph/renderer.rb in flamegraph-0.9.5
- old
+ new
@@ -11,10 +11,10 @@
body.sub! "/**INCLUDES**/",
if embed_resources
embed("jquery.min.js","d3.min.js","lodash.min.js")
else
'<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/d3/3.5.17/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