Sha256: 9f1a77ffe03842700e6ab38e37a4be277cc98f9cc1d0f319f1ea59fe004696d2

Contents?: true

Size: 196 Bytes

Versions: 2

Compression:

Stored size: 196 Bytes

Contents

ColorScale.arrayToRgb = function (ar) {
  var rgb = '#';
  var d;
  for (var i = 0; i < ar.length; i++) {
    d = ar[i].toString(16);
    rgb += d.length === 1 ? '0' + d : d;
  }
  return rgb;
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_modular_admin-1.0.0 app/assets/node_modules/jqvmap/src/ColorScale/arrayToRgb.js
rails_modular_admin-0.4.0 app/assets/node_modules/jqvmap/src/ColorScale/arrayToRgb.js