/home/techb158/workloadmatch.com/bower_components/jvectormap/src
NameSizeModeActions
abstract-canvas-element.js29080777editdlrm
abstract-element.js16520777editdlrm
abstract-shape-element.js18330777editdlrm
color-scale.js10280777editdlrm
data-series.js52550777editdlrm
jvectormap.js42330777editdlrm
legend.js26700777editdlrm
map-object.js19990777editdlrm
map.js405910777editdlrm
marker.js20660777editdlrm
multimap.js44350777editdlrm
numeric-scale.js42580777editdlrm
ordinal-scale.js3520777editdlrm
proj.js65680777editdlrm
region.js12480777editdlrm
simple-scale.js1330777editdlrm
svg-canvas-element.js8770777editdlrm
svg-circle-element.js1800777editdlrm
svg-element.js12260777editdlrm
svg-group-element.js2380777editdlrm
svg-image-element.js11000777editdlrm
svg-path-element.js2210777editdlrm
svg-shape-element.js18770777editdlrm
svg-text-element.js3930777editdlrm
vector-canvas.js5040777editdlrm
vml-canvas-element.js15400777editdlrm
vml-circle-element.js8200777editdlrm
vml-element.js29120777editdlrm
vml-group-element.js3400777editdlrm
vml-image-element.js14490777editdlrm
vml-path-element.js29470777editdlrm
vml-shape-element.js14490777editdlrm
Edit: /home/techb158/workloadmatch.com/bower_components/jvectormap/src/vml-image-element.js (1449B)
jvm.VMLImageElement = function(config, style){ jvm.VMLImageElement.parentClass.call(this, 'image', config, style); }; jvm.inherits(jvm.VMLImageElement, jvm.VMLShapeElement); jvm.VMLImageElement.prototype.applyAttr = function(attr, value){ var patternEl, imageEl, that = this; if (attr == 'image') { jvm.whenImageLoaded(value).then(function(img){ that.node.setAttribute('src', value); that.width = img[0].width; that.height = img[0].height; that.applyAttr('width', that.width); that.applyAttr('height', that.height); jvm.VMLImageElement.images[value] = jvm.VMLImageElement.imageCounter++; that.applyAttr('x', that.cx - that.width / 2); that.applyAttr('y', that.cy - that.height / 2); jvm.$(that.node).trigger('imageloaded', [img]); }); } else if(attr == 'cx') { this.cx = value; if (this.width) { this.applyAttr('x', value - this.width / 2); } } else if(attr == 'cy') { this.cy = value; if (this.height) { this.applyAttr('y', value - this.height / 2); } } else if(attr == 'width' || attr == 'height') { this.node.style[attr] = value + 'px'; } else if (attr == 'x' || attr == 'y') { this.node.style[attr == 'x' ? 'left' : 'top'] = value + 'px'; } else { jvm.VMLImageElement.parentClass.prototype.applyAttr.apply(this, arguments); } }; jvm.VMLImageElement.imageCounter = 1; jvm.VMLImageElement.images = {}