Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Clarify the forth task arg #150

Merged
merged 1 commit into from

1 participant

@ghost

Make some clarifications for the forth task argument in README.md.

wingy Clarify the forth task arg
Make some clarification for the forth task argument in README.md.
fe1fa2a
@mde mde merged commit 5b3b938 into jakejs:master
@mde
Owner

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 20, 2012
  1. Clarify the forth task arg

    wingy authored
    Make some clarification for the forth task argument in README.md.
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 README.md
@@ -108,8 +108,8 @@ API docs [can be found here](http://mde.github.com/jake/doc/).
## Tasks
-Use `task` to define tasks. Call it with two arguments (and one optional
-argument):
+Use `task` to define tasks. Call it with two arguments (and two optional
+arguments):
```javascript
task(name, [prerequisites], action, [opts]);
@@ -125,7 +125,7 @@ literals makes it not very useful.) The action is invoked with the Task object
itself as the execution context (i.e, "this" inside the action references the
Task object).
-The `opts` argument is optional. When a task's operations are asynchronous, the
+The `opts` argument is an optional Object. When a task's operations are asynchronous, the
`async` property should be set to `true`, and the task must call `complete()` to
signal to Jake that the task is done, and execution can proceed. By default the
`async` property is `false`.
Something went wrong with that request. Please try again.