ok
| Direktori : /home/gainstransformin/www/Gains_admin/bower_components/jvectormap/src/ |
| Current File : /home/gainstransformin/www/Gains_admin/bower_components/jvectormap/src/svg-text-element.js |
jvm.SVGTextElement = function(config, style){
jvm.SVGTextElement.parentClass.call(this, 'text', config, style);
}
jvm.inherits(jvm.SVGTextElement, jvm.SVGShapeElement);
jvm.SVGTextElement.prototype.applyAttr = function(attr, value){
if (attr === 'text') {
this.node.textContent = value;
} else {
jvm.SVGTextElement.parentClass.prototype.applyAttr.apply(this, arguments);
}
};