pull/21833/head
Luke Barnard 2017-12-13 17:32:46 +00:00
parent 950f591b3f
commit 6b02f59fb7
3 changed files with 6 additions and 6 deletions

View File

@ -20,10 +20,10 @@ const GroupActions = {};
/** /**
* Create a GroupActions.fetchJoinedGroups action that represents an * Create a GroupActions.fetchJoinedGroups action that represents an
* asyncronous request to fetch the groups to which a user is joined. * asynchronous request to fetch the groups to which a user is joined.
* *
* @param {MatrixClient} matrixClient the matrix client to query. * @param {MatrixClient} matrixClient the matrix client to query.
* @returns {function} an asyncronous action of type * @returns {function} an asynchronous action of type
* GroupActions.fetchJoinedGroups. * GroupActions.fetchJoinedGroups.
*/ */
GroupActions.fetchJoinedGroups = function(matrixClient) { GroupActions.fetchJoinedGroups = function(matrixClient) {

View File

@ -27,7 +27,7 @@ const TagOrderActions = {};
* *
* @param {MatrixClient} matrixClient the matrix client to set the account * @param {MatrixClient} matrixClient the matrix client to set the account
* data on. * data on.
* @returns {function} an asyncronous action of type * @returns {function} an asynchronous action of type
* TagOrderActions.commitTagOrdering. * TagOrderActions.commitTagOrdering.
*/ */
TagOrderActions.commitTagOrdering = function(matrixClient) { TagOrderActions.commitTagOrdering = function(matrixClient) {

View File

@ -21,8 +21,8 @@ limitations under the License.
* suffix determining whether it is pending, successful or * suffix determining whether it is pending, successful or
* a failure. * a failure.
* @param {function} fn a function that returns a Promise. * @param {function} fn a function that returns a Promise.
* @returns {function} an asyncronous action creator - a function that uses its * @returns {function} an asynchronous action creator - a function that uses
* single argument as a dispatch function. * its single argument as a dispatch function.
*/ */
export function asyncAction(id, fn) { export function asyncAction(id, fn) {
return (dispatch) => { return (dispatch) => {