Sha256: 16d69ac6f67e240805a769371fe8bbc7b5236ddc43aadb0d1fa6b8810bd7f156

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 Bytes

Contents

JQVMap.prototype.selectIndex = function (cc) {
  cc = cc.toLowerCase();
  for (var i = 0; i < this.selectedRegions.length; i++) {
    if (cc === this.selectedRegions[i]) {
      return i;
    }
  }
  return -1;
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_modular_admin-1.0.0 app/assets/node_modules/jqvmap/src/JQVMap/selectIndex.js
rails_modular_admin-0.4.0 app/assets/node_modules/jqvmap/src/JQVMap/selectIndex.js