@@ -6,13 +6,13 @@ var __ = require('underscore'),
66 Dialog ;
77
88/*
9- Used to show a dialog with optional buttons. The dialog renders and opens itself on instantiation
10- and, by default, removes itself on close. So, in it's simplest form a dialog can be launched as follows:
9+ Used to show a dialog with optional buttons. By default, the dialog removes itself on close. In it's
10+ simplest form a dialog can be launched as follows:
1111
1212var myDialog = new Dialog({
1313 title: 'Houston, We Have A problem!',
1414 message: 'How can you eat your pudding, if you haven't eaten your meat!?'
15- });
15+ }).render().open() ;
1616
1717Additionally, you could specify an array of buttons which will be displayed at the bottom of the
1818dialog. The buttons should be provided in the following format:
@@ -35,8 +35,8 @@ Please Note: This Dialog is designed for simple messages with optional classes o
3535you find that your situation needs custom markup, css (beyond the classes you can optionally pass in),
3636and/or behavior (e.g. tabs, etc.), you should write a custom view and extend from the Base Modal.
3737
38- Also, if it's just a super simple message you need, please use simpleMessageModal instance attached to
39- out app instance.
38+ Also, if it's just a super simple message you need, please use the simpleMessageModal instance attached to
39+ our app instance.
4040*/
4141
4242Dialog = baseModal . extend ( {
0 commit comments