@@ -108,12 +108,10 @@ function removeHandlers(store, name, callback, context) {
108
108
return matched ;
109
109
}
110
110
111
- /*
112
- * tune-in
113
- * -------
114
- * Get console logs of a channel's activity
115
- *
116
- */
111
+ //
112
+ // tune-in
113
+ // Get console logs of a channel's activity
114
+ //
117
115
118
116
var _logs = { } ;
119
117
@@ -151,12 +149,10 @@ _.extend(Radio, {
151
149
}
152
150
} ) ;
153
151
154
- /*
155
- * Backbone.Radio.Commands
156
- * -----------------------
157
- * A messaging system for sending orders.
158
- *
159
- */
152
+ //
153
+ // Backbone.Radio.Commands
154
+ // A messaging system for sending orders.
155
+ //
160
156
161
157
Radio . Commands = {
162
158
@@ -237,12 +233,10 @@ Radio.Commands = {
237
233
}
238
234
} ;
239
235
240
- /*
241
- * Backbone.Radio.Requests
242
- * -----------------------
243
- * A messaging system for requesting data.
244
- *
245
- */
236
+ //
237
+ // Backbone.Radio.Requests
238
+ // A messaging system for requesting data.
239
+ //
246
240
247
241
function makeCallback ( callback ) {
248
242
return _ . isFunction ( callback ) ? callback : _ . constant ( callback ) ;
@@ -328,12 +322,10 @@ Radio.Requests = {
328
322
}
329
323
} ;
330
324
331
- /*
332
- * Backbone.Radio.channel
333
- * ----------------------
334
- * Get a reference to a channel by name.
335
- *
336
- */
325
+ //
326
+ // Backbone.Radio.channel
327
+ // Get a reference to a channel by name.
328
+ //
337
329
338
330
Radio . _channels = { } ;
339
331
@@ -349,13 +341,11 @@ Radio.channel = function(channelName) {
349
341
}
350
342
} ;
351
343
352
- /*
353
- * Backbone.Radio.Channel
354
- * ----------------------
355
- * A Channel is an object that extends from Backbone.Events,
356
- * Radio.Commands, and Radio.Requests.
357
- *
358
- */
344
+ //
345
+ // Backbone.Radio.Channel
346
+ // A Channel is an object that extends from Backbone.Events,
347
+ // Radio.Commands, and Radio.Requests.
348
+ //
359
349
360
350
Radio . Channel = function ( channelName ) {
361
351
this . channelName = channelName ;
@@ -373,13 +363,11 @@ _.extend(Radio.Channel.prototype, Backbone.Events, Radio.Commands, Radio.Request
373
363
}
374
364
} ) ;
375
365
376
- /*
377
- * Top-level API
378
- * -------------
379
- * Supplies the 'top-level API' for working with Channels directly
380
- * from Backbone.Radio.
381
- *
382
- */
366
+ //
367
+ // Top-level API
368
+ // Supplies the 'top-level API' for working with Channels directly
369
+ // from Backbone.Radio.
370
+ //
383
371
384
372
var channel , args , systems = [ Backbone . Events , Radio . Commands , Radio . Requests ] ;
385
373
0 commit comments