Skip to content

Commit 51cb938

Browse files
Merge pull request Reactive-Extensions#115 from sirbarrence/patch-6
mark $createObservableFunction 2nd param optional
2 parents cc42c0e + 691a814 commit 51cb938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Creates an observable from a given function.
246246
247247
#### Arguments
248248
1. `functionName`: *(String)*: A function name to observe.
249-
2. `listener`: *(Function)*: A listener function that gets executed.
249+
2. `[listener]`: *(Function)*: A listener function that gets executed.
250250
251251
#### Returns
252252
*(Rx)*: A new Observable object with the watch expression in place.

0 commit comments

Comments
 (0)