aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/Dom.js2
-rw-r--r--src/elements/Pattern.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/Dom.js b/src/elements/Dom.js
index 7c36078..c874353 100644
--- a/src/elements/Dom.js
+++ b/src/elements/Dom.js
@@ -129,7 +129,7 @@ export default class Dom extends EventTarget {
this.node.id = eid(this.type)
}
- // dont't set directly with this.node.id to make `null` work correctly
+ // don't set directly with this.node.id to make `null` work correctly
return this.attr('id', id)
}
diff --git a/src/elements/Pattern.js b/src/elements/Pattern.js
index be03423..61adace 100644
--- a/src/elements/Pattern.js
+++ b/src/elements/Pattern.js
@@ -24,7 +24,7 @@ export default class Pattern extends Container {
return baseFind('svg [fill*="' + this.id() + '"]')
}
- // Alias string convertion to fill
+ // Alias string conversion to fill
toString () {
return this.url()
}