File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ as a dependency.
267
267
* ` channelName ` - defines the Radio channel that will be used for the requests and/or events
268
268
* ` getChannel() ` - returns a Radio.Channel instance using ` channelName `
269
269
* ` radioEvents ` - defines an events hash with the events to be listened and its respective handlers
270
- * ` radioRequets ` - defines an events hash with the requests to be replied and its respective handlers
270
+ * ` radioRequests ` - defines an events hash with the requests to be replied and its respective handlers
271
271
272
272
### Examples
273
273
Original file line number Diff line number Diff line change @@ -397,12 +397,9 @@ instantiated using the template.
397
397
``` javascript
398
398
const myView = new MyView ();
399
399
400
- const template = _ .template (' This is the <%- section %> page' );
401
- const templateContext = templateContext: { section: ' main' };
402
-
403
400
myView .showChildView (' main' , {
404
- template: template,
405
- templateContext: templateContext
401
+ template: _ . template ( ' This is the <%- section %> page ' ) ,
402
+ templateContext: { section : ' main ' }
406
403
});
407
404
408
405
myView .showChildView (' header' , _ .template (' Welcome to the site' ));
You can’t perform that action at this time.
0 commit comments