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

Commit 4067dfa

Browse files
Merge pull request #1 from kae/patch-1
bug fix for Deferred.prototype.toObservable
2 parents 2c10057 + bdbcac4 commit 4067dfa

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)