/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/svg-image-element.js (1100B)
jvm.SVGImageElement = function(config, style){ jvm.SVGImageElement.parentClass.call(this, 'image', config, style); }; jvm.inherits(jvm.SVGImageElement, jvm.SVGShapeElement); jvm.SVGImageElement.prototype.applyAttr = function(attr, value){ var that = this; if (attr == 'image') { jvm.whenImageLoaded(value).then(function(img){ that.node.setAttributeNS('http://www.w3.org/1999/xlink', 'href', value); that.width = img[0].width; that.height = img[0].height; that.applyAttr('width', that.width); that.applyAttr('height', that.height); 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 { jvm.SVGImageElement.parentClass.prototype.applyAttr.apply(this, arguments); } };