Skip to content

Commit f605ece

Browse files
pmorongKrinkle
authored andcommitted
Fixed Typo (#771)
Changed "The do this" to "To do this"
1 parent 63d3544 commit f605ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Now the `superDialog` has a `red()` method that will change the color of its tex
4444

4545
### Extending Existing Methods
4646

47-
Sometimes you need to tweak or add to the behavior of existing widget methods. The do this, specify a method with the same name as the method you want to override on the prototype object. The following example overrides dialog's [`open()` method](http://api.jqueryui.com/dialog/#method-open). Since dialogs automatically open by default, `"open"` will be logged when this code runs.
47+
Sometimes you need to tweak or add to the behavior of existing widget methods. To do this, specify a method with the same name as the method you want to override on the prototype object. The following example overrides dialog's [`open()` method](http://api.jqueryui.com/dialog/#method-open). Since dialogs automatically open by default, `"open"` will be logged when this code runs.
4848

4949
```
5050
$.widget( "custom.superDialog", $.ui.dialog, {

0 commit comments

Comments
 (0)