Skip to content

Commit

Permalink
Rm reserved keyword char
Browse files Browse the repository at this point in the history
Should fix fabricjs#5778
  • Loading branch information
pimpin authored Jun 26, 2019
1 parent 15d6dad commit 979cce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shapes/text.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -683,8 +683,8 @@
* @param {Number} char the character number
* @return {Number} fontSize of the character
*/
getHeightOfChar: function(line, char) {
return this.getValueOfPropertyAt(line, char, 'fontSize');
getHeightOfChar: function(line, _char) {
return this.getValueOfPropertyAt(line, _char, 'fontSize');
},

/**
Expand Down

0 comments on commit 979cce6

Please sign in to comment.