Skip to content

Commit 903a245

Browse files
committed
Extending Widgets: Whitespace
1 parent c626de7 commit 903a245

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

page/jquery-ui/widget-factory/extending-widgets.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,14 @@ While this is powerful, sometimes you only need to change the behavior for a sin
152152

153153
```
154154
var dialogInstance = $( "<div>" )
155-
.dialog()
156-
// Retrieve the dialog's instance and store it.
157-
.data( "ui-dialog" );
155+
.dialog()
156+
157+
// Retrieve the dialog's instance and store it.
158+
.data( "ui-dialog" );
158159
159160
// Override the close() method for this dialog
160161
dialogInstance.close = function() {
161-
console.log( "close" );
162+
console.log( "close" );
162163
};
163164
164165
// Create a second dialog

0 commit comments

Comments
 (0)