Skip to content

Commit b4c8f2e

Browse files
AurelioDeRosaagcolom
authored andcommitted
Update advanced-plugin-concepts.md
Comment should be above the code for consistence with other pages.
1 parent b750bb5 commit b4c8f2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

page/plugins/advanced-plugin-concepts.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ var wrapper = $( "<div />" )
249249
.attr( settings.wrapperAttrs )
250250
.appendTo( settings.container );
251251
252-
wrapper.append( "..." ); // Easy to reference later...
252+
// Easy to reference later...
253+
wrapper.append( "..." );
253254
```
254255

255256
Notice that we've created a reference to the injected wrapper and we're also calling the `.attr()` method to add any specified attributes to the element. So, in our settings it might be handled like this:

0 commit comments

Comments
 (0)