From 512b0186c80c89cda688564397df5cf3c9c13ef8 Mon Sep 17 00:00:00 2001 From: kangax Date: Sat, 1 Feb 2014 14:24:25 -0500 Subject: [PATCH] Tweak iText after PR --- src/shapes/itext.class.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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]) + : { }; }, /**