/home/techb158/ileadtechnology.com/public/admin/bower_components/jvectormap/src
NameSizeModeActions
abstract-canvas-element.js29080644editdlrm
abstract-element.js16520644editdlrm
abstract-shape-element.js18330644editdlrm
color-scale.js10280644editdlrm
data-series.js52550644editdlrm
index.php530644editdlrm
jvectormap.js42330644editdlrm
legend.js26700644editdlrm
map-object.js19990644editdlrm
map.js405910644editdlrm
marker.js20660644editdlrm
multimap.js44350644editdlrm
numeric-scale.js42580644editdlrm
ordinal-scale.js3520644editdlrm
proj.js65680644editdlrm
region.js12480644editdlrm
simple-scale.js1330644editdlrm
svg-canvas-element.js8770644editdlrm
svg-circle-element.js1800644editdlrm
svg-element.js12260644editdlrm
svg-group-element.js2380644editdlrm
svg-image-element.js11000644editdlrm
svg-path-element.js2210644editdlrm
svg-shape-element.js18770644editdlrm
svg-text-element.js3930644editdlrm
vector-canvas.js5040644editdlrm
vml-canvas-element.js15400644editdlrm
vml-circle-element.js8200644editdlrm
vml-element.js29120644editdlrm
vml-group-element.js3400644editdlrm
vml-image-element.js14490644editdlrm
vml-path-element.js29470644editdlrm
vml-shape-element.js14490644editdlrm
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(); };