/
home
/
techb158
/
ileadtechnology.com
/
public
/
admin
/
bower_components
/
jvectormap
/
src
/
/home/techb158/ileadtechnology.com/public/admin/bower_components/jvectormap/src
mkdir
upload
Name
Size
Mode
Actions
abstract-canvas-element.js
2908
0644
edit
dl
rm
abstract-element.js
1652
0644
edit
dl
rm
abstract-shape-element.js
1833
0644
edit
dl
rm
color-scale.js
1028
0644
edit
dl
rm
data-series.js
5255
0644
edit
dl
rm
index.php
53
0644
edit
dl
rm
jvectormap.js
4233
0644
edit
dl
rm
legend.js
2670
0644
edit
dl
rm
map-object.js
1999
0644
edit
dl
rm
map.js
40591
0644
edit
dl
rm
marker.js
2066
0644
edit
dl
rm
multimap.js
4435
0644
edit
dl
rm
numeric-scale.js
4258
0644
edit
dl
rm
ordinal-scale.js
352
0644
edit
dl
rm
proj.js
6568
0644
edit
dl
rm
region.js
1248
0644
edit
dl
rm
simple-scale.js
133
0644
edit
dl
rm
svg-canvas-element.js
877
0644
edit
dl
rm
svg-circle-element.js
180
0644
edit
dl
rm
svg-element.js
1226
0644
edit
dl
rm
svg-group-element.js
238
0644
edit
dl
rm
svg-image-element.js
1100
0644
edit
dl
rm
svg-path-element.js
221
0644
edit
dl
rm
svg-shape-element.js
1877
0644
edit
dl
rm
svg-text-element.js
393
0644
edit
dl
rm
vector-canvas.js
504
0644
edit
dl
rm
vml-canvas-element.js
1540
0644
edit
dl
rm
vml-circle-element.js
820
0644
edit
dl
rm
vml-element.js
2912
0644
edit
dl
rm
vml-group-element.js
340
0644
edit
dl
rm
vml-image-element.js
1449
0644
edit
dl
rm
vml-path-element.js
2947
0644
edit
dl
rm
vml-shape-element.js
1449
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/public/admin/bower_components/jvectormap/src/abstract-element.js
(1652B)
/** * Basic wrapper for DOM element. * @constructor * @param {String} name Tag name of the element * @param {Object} config Set of parameters to initialize element with */ jvm.AbstractElement = function(name, config){ /** * Underlying DOM element * @type {DOMElement} * @private */ this.node = this.createElement(name); /** * Name of underlying element * @type {String} * @private */ this.name = name; /** * Internal store of attributes * @type {Object} * @private */ this.properties = {}; if (config) { this.set(config); } }; /** * Set attribute of the underlying DOM element. * @param {String} name Name of attribute * @param {Number|String} config Set of parameters to initialize element with */ jvm.AbstractElement.prototype.set = function(property, value){ var key; if (typeof property === 'object') { for (key in property) { this.properties[key] = property[key]; this.applyAttr(key, property[key]); } } else { this.properties[property] = value; this.applyAttr(property, value); } }; /** * Returns value of attribute. * @param {String} name Name of attribute */ jvm.AbstractElement.prototype.get = function(property){ return this.properties[property]; }; /** * Applies attribute value to the underlying DOM element. * @param {String} name Name of attribute * @param {Number|String} config Value of attribute to apply * @private */ jvm.AbstractElement.prototype.applyAttr = function(property, value){ this.node.setAttribute(property, value); }; jvm.AbstractElement.prototype.remove = function(){ jvm.$(this.node).remove(); };
Save
cmd:
run