remove doubled whitespace chars in jsDoc
Dmitrii Abramov committed
Aug 18, 2014 at 14:26 UTC
d50278997c33e562887a7712c771e6e63257d38a
1 file changed
+6
-6
docs/docs/flux-todo-list.md
+6
-6
@@ -73,7 +73,7 @@ Dispatcher.prototype = merge(Dispatcher.prototype, {
73
74
/**
75
* dispatch
76
- * @param {object} payload The data from the action.
76
+ * @param {object} payload The data from the action.
77
*/
78
dispatch: function(payload) {
79
// First create array of promises for callbacks to reference.
@@ -116,7 +116,7 @@ var AppDispatcher = merge(Dispatcher.prototype, {
116
/**
117
* A bridge function between the views and the dispatcher, marking the action
118
* as a view action. Another variant here could be handleServerAction.
119
- * @param {object} action The data coming from the view.
119
+ * @param {object} action The data coming from the view.
120
*/
121
handleViewAction: function(action) {
122
this.dispatch({
@@ -513,7 +513,7 @@ var TodoConstants = require('../constants/TodoConstants');
513
var TodoActions = {
514
515
/**
516
- * @param {string} text
516
+ * @param {string} text
517
*/
518
create: function(text) {
519
AppDispatcher.handleViewAction({
@@ -523,7 +523,7 @@ var TodoActions = {
523
},
524
525
/**
526
- * @param {string} id
526
+ * @param {string} id
527
*/
528
destroy: function(id) {
529
AppDispatcher.handleViewAction({
@@ -580,8 +580,8 @@ We'll need another public method, waitFor(). Note that it returns a Promise that
580
581
```javascript
582
/**
583
- * @param {array} promisesIndexes
584
- * @param {function} callback
583
+ * @param {array} promisesIndexes
584
+ * @param {function} callback
585
*/
586
waitFor: function(promiseIndexes, callback) {
587
var selectedPromises = promiseIndexes.map(function(index) {