Index: trunk/parsers/wikidom/lib/es/es.TextFlow.js |
— | — | @@ -93,7 +93,7 @@ |
94 | 94 | // Reset RegExp object's state |
95 | 95 | this.boundaryTest.lastIndex = 0; |
96 | 96 | var virtual = line < this.lines.length - 1 |
97 | | - && this.boundaryTest( this.lines[line].text.substr( -1, 1 ) ) |
| 97 | + && this.boundaryTest.exec( this.lines[line].text.substr( -1, 1 ) ) |
98 | 98 | ? -1 : 0; |
99 | 99 | return Math.min( |
100 | 100 | fit.end + ( position.left >= center ? 1 : 0 ), |