Merge pull request #2790 from mochidusk/pr_styleDecl_refactor

Use internal _getStyleDeclaration method for style declarations.
This commit is contained in:
Juriy Zaytsev 2016-02-19 12:30:32 -05:00
commit 053cbc3466

View file

@ -31,7 +31,7 @@
heightOfLine = this._getHeightOfLine(this.ctx, lineIndex);
for (var i = 0, len = chars.length; i < len; i++) {
var styleDecl = this.styles[lineIndex][i] || { };
var styleDecl = this._getStyleDeclaration(lineIndex, i) || { };
textSpans.push(
this._createTextCharSpan(