r91297 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r91296
|
r91297
|
r91298
>
Date:
21:23, 1 July 2011
Author:
tparscal
Status:
deferred
Tags:
Comment:
Added .toString() call on incoming content object, allowing it to support a string, or any object, and let the content object serialize as a string - this is fine for now, but inserting rich content needs to be supported in the future
Modified paths:
/trunk/parsers/wikidom/lib/es/es.ParagraphBlock.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/parsers/wikidom/lib/es/es.ParagraphBlock.js
—
—
@@ -34,7 +34,7 @@
35
35
for ( var i = 0; i < this.lines.length; i++ ) {
36
36
if ( this.lines[i].text.length < offset - lineOffset ) {
37
37
this.lines[i].text = this.lines[i].text.substring( 0, offset - lineOffset )
38
- + content
38
+ + content.toString()
39
39
+ this.lines[i].text.substring( offset - lineOffset )
40
40
break;
41
41
}
Status & tagging log
00:53, 2 July 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r91297
[
removed:
new
added:
deferred]