vendor/assets/javascripts/d3.js in metrics-graphics-rails-2.1.3.2 vs vendor/assets/javascripts/d3.js in metrics-graphics-rails-2.4.0

- old
+ new

@@ -1,17 +1,17 @@ !function() { var d3 = { - version: "3.5.4" + version: "3.5.5" }; var d3_arraySlice = [].slice, d3_array = function(list) { return d3_arraySlice.call(list); }; var d3_document = this.document; function d3_documentElement(node) { - return node && (node.ownerDocument || node.document).documentElement; + return node && (node.ownerDocument || node.document || node).documentElement; } function d3_window(node) { - return node && node.ownerDocument ? node.ownerDocument.defaultView : node; + return node && (node.ownerDocument && node.ownerDocument.defaultView || node.document && node || node.defaultView); } if (d3_document) { try { d3_array(d3_document.documentElement.childNodes)[0].nodeType; } catch (e) { \ No newline at end of file