summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index ff06f17..401ed52 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ dom.write(function() {
## API
-### DomBatch#read(callback)
+### DomBatch#read(callback[, context])
Schedules a task for the 'read' queue.
@@ -41,7 +41,7 @@ dom.read(function() {
});
```
-### DomBatch#write(callback)
+### DomBatch#write(callback[, context])
Schedules a task for the 'write' queue.