Add yet-another-react-lightbox package and update .gitignore to exclude node_modules
This commit is contained in:
13
frontend/node_modules/@react-jvectormap/lib/src/svg-text-element.js
generated
vendored
13
frontend/node_modules/@react-jvectormap/lib/src/svg-text-element.js
generated
vendored
@@ -1,13 +0,0 @@
|
||||
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