Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit bdbcac4

Browse files
committed
bug fix for Deferred.prototype.toObservable
1 parent 2c10057 commit bdbcac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rx.jquery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
$.Deferred.prototype.toObservable = function () {
2828
var subject = new asyncSubject();
29-
parent.done(function () {
29+
this.done(function () {
3030
subject.onNext(slice.call(arguments));
3131
subject.onCompleted();
3232
}).fail(function () {

0 commit comments

Comments
 (0)