/
home
/
techb158
/
workloadmatch.com
/
bower_components
/
jvectormap
/
src
/
/home/techb158/workloadmatch.com/bower_components/jvectormap/src
mkdir
upload
Name
Size
Mode
Actions
abstract-canvas-element.js
2908
0777
edit
dl
rm
abstract-element.js
1652
0777
edit
dl
rm
abstract-shape-element.js
1833
0777
edit
dl
rm
color-scale.js
1028
0777
edit
dl
rm
data-series.js
5255
0777
edit
dl
rm
jvectormap.js
4233
0777
edit
dl
rm
legend.js
2670
0777
edit
dl
rm
map-object.js
1999
0777
edit
dl
rm
map.js
40591
0777
edit
dl
rm
marker.js
2066
0777
edit
dl
rm
multimap.js
4435
0777
edit
dl
rm
numeric-scale.js
4258
0777
edit
dl
rm
ordinal-scale.js
352
0777
edit
dl
rm
proj.js
6568
0777
edit
dl
rm
region.js
1248
0777
edit
dl
rm
simple-scale.js
133
0777
edit
dl
rm
svg-canvas-element.js
877
0777
edit
dl
rm
svg-circle-element.js
180
0777
edit
dl
rm
svg-element.js
1226
0777
edit
dl
rm
svg-group-element.js
238
0777
edit
dl
rm
svg-image-element.js
1100
0777
edit
dl
rm
svg-path-element.js
221
0777
edit
dl
rm
svg-shape-element.js
1877
0777
edit
dl
rm
svg-text-element.js
393
0777
edit
dl
rm
vector-canvas.js
504
0777
edit
dl
rm
vml-canvas-element.js
1540
0777
edit
dl
rm
vml-circle-element.js
820
0777
edit
dl
rm
vml-element.js
2912
0777
edit
dl
rm
vml-group-element.js
340
0777
edit
dl
rm
vml-image-element.js
1449
0777
edit
dl
rm
vml-path-element.js
2947
0777
edit
dl
rm
vml-shape-element.js
1449
0777
edit
dl
rm
Edit:
/home/techb158/workloadmatch.com/bower_components/jvectormap/src/svg-element.js
(1226B)
/** * Wrapper for SVG element. * @constructor * @extends jvm.AbstractElement * @param {String} name Tag name of the element * @param {Object} config Set of parameters to initialize element with */ jvm.SVGElement = function(name, config){ jvm.SVGElement.parentClass.apply(this, arguments); } jvm.inherits(jvm.SVGElement, jvm.AbstractElement); jvm.SVGElement.svgns = "http://www.w3.org/2000/svg"; /** * Creates DOM element. * @param {String} tagName Name of element * @private * @returns DOMElement */ jvm.SVGElement.prototype.createElement = function( tagName ){ return document.createElementNS( jvm.SVGElement.svgns, tagName ); }; /** * Adds CSS class for underlying DOM element. * @param {String} className Name of CSS class name */ jvm.SVGElement.prototype.addClass = function( className ){ this.node.setAttribute('class', className); }; /** * Returns constructor for element by name prefixed with 'VML'. * @param {String} ctr Name of basic constructor to return * proper implementation for. * @returns Function * @private */ jvm.SVGElement.prototype.getElementCtr = function( ctr ){ return jvm['SVG'+ctr]; }; jvm.SVGElement.prototype.getBBox = function(){ return this.node.getBBox(); };
Save
cmd:
run