diff --git a/src/shapes/itext.class.js b/src/shapes/itext.class.js index 383f2d06..a1d86946 100644 --- a/src/shapes/itext.class.js +++ b/src/shapes/itext.class.js @@ -929,11 +929,16 @@ styleDeclaration.fontStyle = this.fontStyle; } }, - + + /** + * @private + * @param {Number} lineIndex + * @param {Number} charIndex + */ _getStyleDeclaration: function(lineIndex, charIndex) { - return (this.styles[lineIndex] && this.styles[lineIndex][charIndex]) - ? clone(this.styles[lineIndex][charIndex]) - : { }; + return (this.styles[lineIndex] && this.styles[lineIndex][charIndex]) + ? clone(this.styles[lineIndex][charIndex]) + : { }; }, /**