Skip to content

Commit 1ceb392

Browse files
committed
Less annoying comment style.
1 parent 622ecbe commit 1ceb392

File tree

1 file changed

+26
-38
lines changed

1 file changed

+26
-38
lines changed

src/backbone.radio.js

Lines changed: 26 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,10 @@ function removeHandlers(store, name, callback, context) {
108108
return matched;
109109
}
110110

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+
//
117115

118116
var _logs = {};
119117

@@ -151,12 +149,10 @@ _.extend(Radio, {
151149
}
152150
});
153151

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+
//
160156

161157
Radio.Commands = {
162158

@@ -237,12 +233,10 @@ Radio.Commands = {
237233
}
238234
};
239235

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+
//
246240

247241
function makeCallback(callback) {
248242
return _.isFunction(callback) ? callback : _.constant(callback);
@@ -328,12 +322,10 @@ Radio.Requests = {
328322
}
329323
};
330324

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+
//
337329

338330
Radio._channels = {};
339331

@@ -349,13 +341,11 @@ Radio.channel = function(channelName) {
349341
}
350342
};
351343

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+
//
359349

360350
Radio.Channel = function(channelName) {
361351
this.channelName = channelName;
@@ -373,13 +363,11 @@ _.extend(Radio.Channel.prototype, Backbone.Events, Radio.Commands, Radio.Request
373363
}
374364
});
375365

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+
//
383371

384372
var channel, args, systems = [Backbone.Events, Radio.Commands, Radio.Requests];
385373

0 commit comments

Comments
 (0)