1
0
Fork 0

🚧 Moved return statement to bottom to avoid warnings

This commit is contained in:
joostdecock 2018-07-23 17:35:06 +00:00
parent 9934b54566
commit 7758ba81a6
7 changed files with 23 additions and 15 deletions

View file

@ -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;