Skip to content

Commit a987fa2

Browse files
douglascalhounajpiano
authored andcommitted
Fixed inconsistency in showLinkLocation example in Basic Plugin Creation article. Fixes jquery#307.
showLinkLocation example function suggested link would be shown in parentheses, example output used square brackets.
1 parent a661ef7 commit a987fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/plugins/basic-plugin-creation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ href attribute in brackets.
199199
<a href="page.html">Foo</a>
200200
201201
<!-- After plugin is called: -->
202-
<a href="page.html">Foo [page.html]</a>
202+
<a href="page.html">Foo (page.html)</a>
203203
```
204204

205205
Our plugin can be optimized though:

0 commit comments

Comments
 (0)