🚧 Moved return statement to bottom to avoid warnings
This commit is contained in:
parent
9934b54566
commit
7758ba81a6
7 changed files with 23 additions and 15 deletions
|
@ -6,8 +6,6 @@ function attributes(init = false) {
|
|||
}
|
||||
}
|
||||
|
||||
return this;
|
||||
|
||||
/** Adds an attribute */
|
||||
this.prototype.add = function(name, value) {
|
||||
if (typeof this.list[name] === "undefined") {
|
||||
|
@ -47,6 +45,8 @@ function attributes(init = false) {
|
|||
|
||||
return svg;
|
||||
};
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
export default attributes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue