/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-shape-element.js (1449B)
jvm.VMLShapeElement = function(name, config){ jvm.VMLShapeElement.parentClass.call(this, name, config); this.fillElement = new jvm.VMLElement('fill'); this.strokeElement = new jvm.VMLElement('stroke'); this.node.appendChild(this.fillElement.node); this.node.appendChild(this.strokeElement.node); this.node.stroked = false; jvm.AbstractShapeElement.apply(this, arguments); }; jvm.inherits(jvm.VMLShapeElement, jvm.VMLElement); jvm.mixin(jvm.VMLShapeElement, jvm.AbstractShapeElement); jvm.VMLShapeElement.prototype.applyAttr = function(attr, value){ switch (attr) { case 'fill': this.node.fillcolor = value; break; case 'fill-opacity': this.fillElement.node.opacity = Math.round(value*100)+'%'; break; case 'stroke': if (value === 'none') { this.node.stroked = false; } else { this.node.stroked = true; } this.node.strokecolor = value; break; case 'stroke-opacity': this.strokeElement.node.opacity = Math.round(value*100)+'%'; break; case 'stroke-width': if (parseInt(value, 10) === 0) { this.node.stroked = false; } else { this.node.stroked = true; } this.node.strokeweight = value; break; case 'd': this.node.path = jvm.VMLPathElement.pathSvgToVml(value); break; default: jvm.VMLShapeElement.parentClass.prototype.applyAttr.apply(this, arguments); } };