Sha256: 6353aa4fef81a2964f39ec5acf3bfe92082ace3bc20c22a38a10eebfbf7a2296

Contents?: true

Size: 292 Bytes

Versions: 15

Compression:

Stored size: 292 Bytes

Contents

function createGraphElement(elementType) {
  var graphContainer = document.getElementById("graph_container");

  if(graphContainer) {
    var graphElement = document.createElement(elementType);
    graphElement.setAttribute("id", "graph");
    graphContainer.appendChild(graphElement);
  }
}

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
metric_fu-4.13.0 lib/metric_fu/templates/javascripts/utils.js
fastruby-metric_fu-5.0.0 lib/metric_fu/templates/javascripts/utils.js
code_metric_fu-4.14.4 lib/metric_fu/templates/javascripts/utils.js
code_metric_fu-4.14.3 lib/metric_fu/templates/javascripts/utils.js
code_metric_fu-4.14.2 lib/metric_fu/templates/javascripts/utils.js
code_metric_fu-4.14.1 lib/metric_fu/templates/javascripts/utils.js
code_metric_fu-4.14.0 lib/metric_fu/templates/javascripts/utils.js
metric_fu-4.12.0 lib/metric_fu/templates/javascripts/utils.js
metric_fu-4.11.4 lib/metric_fu/templates/javascripts/utils.js
metric_fu-4.11.3 lib/metric_fu/templates/javascripts/utils.js
metric_fu-4.11.2 lib/metric_fu/templates/javascripts/utils.js
metric_fu-4.11.1 lib/metric_fu/templates/javascripts/utils.js
metric_fu-4.11.0 lib/metric_fu/templates/javascripts/utils.js
metric_fu-4.10.0 lib/metric_fu/reporting/templates/javascripts/utils.js
metric_fu-4.9.0 lib/metric_fu/reporting/templates/javascripts/utils.js