Skip to content

Commit 28eb965

Browse files
committed
replaceAll(): Remove comment to fix example. Closes jquery#231
1 parent 650dfe8 commit 28eb965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/replaceAll.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
</longdesc>
3535
<example>
3636
<desc>Replace all the paragraphs with bold words.</desc>
37-
<code><![CDATA[$("<b>Paragraph. </b>").replaceAll("p"); // check replaceWith() examples]]></code>
37+
<code><![CDATA[$("<b>Paragraph. </b>").replaceAll("p");]]></code>
3838
<html><![CDATA[<p>Hello</p>
3939
<p>cruel</p>
4040
<p>World</p>]]></html>
4141
</example>
4242
<category slug="manipulation/dom-replacement"/>
4343
<category slug="version/1.2"/>
44-
</entry>
44+
</entry>

0 commit comments

Comments
 (0)