Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpfs committed Apr 17, 2016
1 parent f9b33df commit bb7abd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ If you have dependencies the identifier comes afterwards:
mk.task([api, example], 'docs', function readme(cb){cb()});
```

When multiple tasks are passed then the identifier is taken *from the last function* which in this case becomes `readme`:
When multiple tasks are passed then the identifier is taken from the last function which in this case becomes `readme`:

```javascript
mk.task(function api(cb){cb()}, function readme(cb){cb()});
Expand Down
2 changes: 1 addition & 1 deletion doc/readme/task-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ If you have dependencies the identifier comes afterwards:
mk.task([api, example], 'docs', function readme(cb){cb()});
```

When multiple tasks are passed then the identifier is taken *from the last function* which in this case becomes `readme`:
When multiple tasks are passed then the identifier is taken from the last function which in this case becomes `readme`:

```javascript
mk.task(function api(cb){cb()}, function readme(cb){cb()});
Expand Down

0 comments on commit bb7abd7

Please sign in to comment.