mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
CR/LF correction
This commit is contained in:
13
front/lib/AdminLTE/bower_components/jvectormap/src/svg-text-element.js
vendored
Normal file
13
front/lib/AdminLTE/bower_components/jvectormap/src/svg-text-element.js
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user