/
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/vml-canvas-element.js
(1540B)
jvm.VMLCanvasElement = function(container, width, height){ this.classPrefix = 'VML'; jvm.VMLCanvasElement.parentClass.call(this, 'group'); jvm.AbstractCanvasElement.apply(this, arguments); this.node.style.position = 'absolute'; }; jvm.inherits(jvm.VMLCanvasElement, jvm.VMLElement); jvm.mixin(jvm.VMLCanvasElement, jvm.AbstractCanvasElement); jvm.VMLCanvasElement.prototype.setSize = function(width, height){ var paths, groups, i, l; this.width = width; this.height = height; this.node.style.width = width + "px"; this.node.style.height = height + "px"; this.node.coordsize = width+' '+height; this.node.coordorigin = "0 0"; if (this.rootElement) { paths = this.rootElement.node.getElementsByTagName('shape'); for(i = 0, l = paths.length; i < l; i++) { paths[i].coordsize = width+' '+height; paths[i].style.width = width+'px'; paths[i].style.height = height+'px'; } groups = this.node.getElementsByTagName('group'); for(i = 0, l = groups.length; i < l; i++) { groups[i].coordsize = width+' '+height; groups[i].style.width = width+'px'; groups[i].style.height = height+'px'; } } }; jvm.VMLCanvasElement.prototype.applyTransformParams = function(scale, transX, transY) { this.scale = scale; this.transX = transX; this.transY = transY; this.rootElement.node.coordorigin = (this.width-transX-this.width/100)+','+(this.height-transY-this.height/100); this.rootElement.node.coordsize = this.width/scale+','+this.height/scale; };
Save
cmd:
run