Skip to content

Commit

Permalink
docs: Fix simple typo, werdo -> weirdo
Browse files Browse the repository at this point in the history
There is a small typo in src/view/items/element/attribute/getUpdateDelegate.js.

Should read `weirdo` rather than `werdo`.
  • Loading branch information
timgates42 authored and evs-chris committed May 6, 2020
1 parent cc1fe62 commit e57d366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view/items/element/attribute/getUpdateDelegate.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function updateInlineStyle(reset) {
function updateClassName(reset) {
const value = reset ? [] : readClass(safeToStringValue(this.getValue()));

// watch out for werdo svg elements
// watch out for weirdo svg elements
let cls = this.node.className;
cls = cls.baseVal !== undefined ? cls.baseVal : cls;

Expand All @@ -294,7 +294,7 @@ function updateClassName(reset) {
function updateInlineClass(reset) {
const name = this.name.substr(6);

// watch out for werdo svg elements
// watch out for weirdo svg elements
let cls = this.node.className;
cls = cls.baseVal !== undefined ? cls.baseVal : cls;

Expand Down

0 comments on commit e57d366

Please sign in to comment.